swarm.random
Class BernoulliDistImpl

java.lang.Object
  |
  +--swarm.random.BernoulliDistImpl

public class BernoulliDistImpl
extends Object
implements BooleanDistributionS, BooleanDistribution, BernoulliDistS, BernoulliDist

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


Constructor Summary
BernoulliDistImpl()
           
BernoulliDistImpl(ZoneImpl aZone)
          Default constructor for Impl class
BernoulliDistImpl(ZoneImpl aZone, Object generator)
          Use this create message if the generator to be attached is a Simple one:
BernoulliDistImpl(ZoneImpl aZone, Object generator, double p)
          Use this create message if the generator to be attached is a Simple one:
BernoulliDistImpl(ZoneImpl aZone, Object generator, int vGen)
          Use this create message if the generator to be attached is a Split one:
BernoulliDistImpl(ZoneImpl aZone, Object generator, int vGen, double p)
          Use this create message if the generator to be attached is a Split one:
 
Methods implemented by this class for interface swarm.random.BooleanDistribution
getBooleanSample, getIntegerSample
 
Methods implemented by this class for interface swarm.random.BernoulliDistS
setProbability
 
Methods implemented by this class for interface swarm.random.BernoulliDist
getProbability, getSampleWithProbability
 
Methods implemented by this class for interface swarm.random.ProbabilityDistributionS
reset, setGenerator, setGenerator$setVirtualGenerator
 
Methods implemented by this class for interface swarm.random.ProbabilityDistribution
getGenerator, getOptionsInitialized, getVirtualGenerator
 
Methods implemented by this class for interface swarm.objectbase.SwarmObject
getCompleteProbeMap, getProbeForMessage, getProbeForVariable, getProbeMap
 
Methods implemented by this class for interface swarm.random.InternalState
describe, getMagic, getName, getStateSize
 
Methods implemented by this class for interface swarm.defobj.Drop
drop
 
Methods implemented by this class for interface swarm.defobj.DefinedObject
compare, describe, describeID, getDisplayName, getTypeName, getZone, perform, perform$with, perform$with$with, perform$with$with$with, respondsTo, setDisplayName, xfprint, xfprintid, xprint, xprintid
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BernoulliDistImpl

public BernoulliDistImpl()

BernoulliDistImpl

public BernoulliDistImpl(ZoneImpl aZone,
                         Object generator,
                         int vGen,
                         double p)
Use this create message if the generator to be attached is a Split one:

BernoulliDistImpl

public BernoulliDistImpl(ZoneImpl aZone,
                         Object generator,
                         double p)
Use this create message if the generator to be attached is a Simple one:

BernoulliDistImpl

public BernoulliDistImpl(ZoneImpl aZone,
                         Object generator)
Use this create message if the generator to be attached is a Simple one:

BernoulliDistImpl

public BernoulliDistImpl(ZoneImpl aZone,
                         Object generator,
                         int vGen)
Use this create message if the generator to be attached is a Split one:

BernoulliDistImpl

public BernoulliDistImpl(ZoneImpl aZone)
Default constructor for Impl class