swarm.random
Interface BernoulliDistC

All Known Implementing Classes:
BernoulliDistCImpl

public interface BernoulliDistC
extends BooleanDistributionC, BooleanDistributionS

Bernoulli Distribution . A distribution returning YES with a given probability.


Method Summary
 java.lang.Object create$setGenerator$setProbability(Zone aZone, SimpleRandomGenerator simpleGenerator, double p)
          Use this create message if the generator to be attached is a Simple one:
 java.lang.Object create$setGenerator$setVirtualGenerator$setProbability(Zone aZone, SplitRandomGenerator splitGenerator, int vGen, double p)
          Use this create message if the generator to be attached is a Split one:
 
Methods inherited from interface swarm.random.ProbabilityDistributionC
create$setGenerator, create$setGenerator$setVirtualGenerator, createWithDefaults
 
Methods inherited from interface swarm.defobj.CreateC
create, createBegin, createEnd
 
Methods inherited from interface swarm.defobj.CustomizeC
customizeBegin, customizeCopy, customizeEnd
 

Method Detail

create$setGenerator$setProbability

public java.lang.Object create$setGenerator$setProbability(Zone aZone,
                                                           SimpleRandomGenerator simpleGenerator,
                                                           double p)
Use this create message if the generator to be attached is a Simple one:

create$setGenerator$setVirtualGenerator$setProbability

public java.lang.Object create$setGenerator$setVirtualGenerator$setProbability(Zone aZone,
                                                                               SplitRandomGenerator splitGenerator,
                                                                               int vGen,
                                                                               double p)
Use this create message if the generator to be attached is a Split one: