swarm.random
Interface ProbabilityDistributionS

All Known Subinterfaces:
BernoulliDist, BernoulliDistC, BernoulliDistS, BooleanDistribution, BooleanDistributionC, BooleanDistributionS, DoubleDistribution, DoubleDistributionC, DoubleDistributionS, ExponentialDist, ExponentialDistC, ExponentialDistS, GammaDist, GammaDistC, GammaDistS, IntegerDistribution, IntegerDistributionC, IntegerDistributionS, LogNormalDist, LogNormalDistC, LogNormalDistS, Normal, NormalC, NormalDist, NormalDistC, NormalDistS, NormalS, RandomBitDist, RandomBitDistC, RandomBitDistS, UniformDoubleDist, UniformDoubleDistC, UniformDoubleDistS, UniformIntegerDist, UniformIntegerDistC, UniformIntegerDistS, UniformUnsignedDist, UniformUnsignedDistC, UniformUnsignedDistS, UnsignedDistribution, UnsignedDistributionC, UnsignedDistributionS

public abstract interface ProbabilityDistributionS
extends SwarmObjectS, InternalStateS

Probability Distribution. A process for generating a sequence of random numbers matching the frequencies defined by a specific distribution function. The process is driven by input from a supplied uniform random generator.


Method Summary
 Object reset()
          The reset method resets the currentCount and other state data.
 Object setGenerator(Object generator)
          Use this message if the generator to be attached is a Simple one:
 Object setGenerator$setVirtualGenerator(Object generator, int vGen)
          Use this message if the generator to be attached is a Split one:
 

Method Detail

setGenerator

public Object setGenerator(Object generator)
Use this message if the generator to be attached is a Simple one:

setGenerator$setVirtualGenerator

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

reset

public Object reset()
The reset method resets the currentCount and other state data.