swarm.random
Interface BernoulliDistC

All Known Implementing Classes:
BernoulliDistCImpl

public interface BernoulliDistC
extends BooleanDistributionS, BooleanDistributionC

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


Method Summary
 Object create$setGenerator$setProbability(Zone aZone, Object generator, double p)
          Use this create message if the generator to be attached is a Simple one:
 Object create$setGenerator$setVirtualGenerator$setProbability(Zone aZone, Object generator, 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 Object create$setGenerator$setProbability(Zone aZone,
                                                 Object generator,
                                                 double p)
Use this create message if the generator to be attached is a Simple one:

create$setGenerator$setVirtualGenerator$setProbability

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