swarm.random
Interface RandomBitDist

All Known Implementing Classes:
RandomBitDistImpl

public abstract interface RandomBitDist
extends BooleanDistributionS, BooleanDistribution

Random Bit Distribution . A generator that returns uniformly distributed single bit values (i.e. fair coin tosses).


Method Summary
 boolean getCoinToss()
          The getCoinToss method returns a YES or NO value.
 
Methods inherited from interface swarm.random.BooleanDistribution
getBooleanSample, getIntegerSample
 
Methods inherited from interface swarm.random.ProbabilityDistribution
getGenerator, getOptionsInitialized, getVirtualGenerator
 
Methods inherited from interface swarm.objectbase.SwarmObject
getCompleteProbeMap, getProbeForMessage, getProbeForVariable, getProbeMap
 
Methods inherited from interface swarm.random.InternalState
describe, getMagic, getName, getStateSize
 
Methods inherited from interface swarm.defobj.Drop
drop
 
Methods inherited from interface swarm.defobj.DefinedObject
compare, describeID, getDisplayName, getTypeName, getZone, perform, perform$with, perform$with$with, perform$with$with$with, respondsTo, setDisplayName, xfprint, xfprintid, xprint, xprintid
 

Method Detail

getCoinToss

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