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.
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 |
getBooleanSample
public boolean getBooleanSample()
- The getBooleanSample method returns a YES or NO sample value.
getIntegerSample
public int getIntegerSample()