swarm.random
Interface BooleanDistribution

All Known Subinterfaces:
BernoulliDist, RandomBitDist
All Known Implementing Classes:
BernoulliDistImpl, RandomBitDistImpl

public interface BooleanDistribution
extends ProbabilityDistribution, ProbabilityDistributionS

Boolean Distribution. A probability distribution that returns YES/NO sample values.


Method Summary
 boolean getBooleanSample()
          The getBooleanSample method returns a YES or NO sample value.
 int getIntegerSample()
           
 
Methods inherited from interface swarm.random.ProbabilityDistribution
getCurrentCount, getGenerator, getOptionsInitialized, getVirtualGenerator
 
Methods inherited from interface swarm.random.ProbabilityDistributionS
reset, setGenerator, setGenerator$setVirtualGenerator
 
Methods inherited from interface swarm.objectbase.SwarmObject
getCompleteProbeMap, getProbeForMessage, getProbeForVariable, getProbeMap
 
Methods inherited from interface swarm.random.InternalState
getMagic, getStateSize
 
Methods inherited from interface swarm.defobj.Drop
drop
 
Methods inherited from 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 interface swarm.defobj.GetName
getName
 

Method Detail

getBooleanSample

public boolean getBooleanSample()
The getBooleanSample method returns a YES or NO sample value.

getIntegerSample

public int getIntegerSample()