swarm.random
Interface ProbabilityDistributionC

All Known Subinterfaces:
BernoulliDistC, BooleanDistributionC, DoubleDistributionC, ExponentialDistC, GammaDistC, IntegerDistributionC, LogNormalDistC, NormalC, NormalDistC, RandomBitDistC, UniformDoubleDistC, UniformIntegerDistC, UniformUnsignedDistC, UnsignedDistributionC

public interface ProbabilityDistributionC
extends SwarmObjectS, SwarmObjectC, InternalStateS, InternalStateC

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 create$setGenerator(Zone aZone, Object generator)
          Use this create message if the generator to be attached is a Simple one:
 Object create$setGenerator$setVirtualGenerator(Zone aZone, Object generator, int vGen)
          Use this create message if the generator to be attached is a Split one:
 Object createWithDefaults(Zone aZone)
          The createWithDefaults method creates a distribution object with a default set of seeds and parameters, and its own private generator.
 
Methods inherited from interface swarm.defobj.CreateC
create, createBegin, createEnd
 
Methods inherited from interface swarm.defobj.CustomizeC
customizeBegin, customizeCopy, customizeEnd
 

Method Detail

createWithDefaults

public Object createWithDefaults(Zone aZone)
The createWithDefaults method creates a distribution object with a default set of seeds and parameters, and its own private generator.

create$setGenerator

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

create$setGenerator$setVirtualGenerator

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