swarm.random
Class UniformIntegerDistImpl

java.lang.Object
  |
  +--swarm.random.UniformIntegerDistImpl

public class UniformIntegerDistImpl
extends Object
implements IntegerDistributionS, IntegerDistribution, UniformIntegerDistS, UniformIntegerDist

Uniform Integer Distribution. A generator of integral values uniformly distributed across a closed interval [min,max]. (The interval includes both its endpoints.) Setting minValue == maxValue is allowed (and returns minValue).


Constructor Summary
UniformIntegerDistImpl()
           
UniformIntegerDistImpl(Zone aZone)
          Default constructor for Impl class
UniformIntegerDistImpl(Zone aZone, Object generator)
          Use this create message if the generator to be attached is a Simple one:
UniformIntegerDistImpl(Zone aZone, Object generator, int vGen)
          Use this create message if the generator to be attached is a Split one:
UniformIntegerDistImpl(Zone aZone, Object generator, int minValue, int maxValue)
          Use this create message if the generator to be attached is a Simple one:
UniformIntegerDistImpl(Zone aZone, Object generator, int vGen, int minValue, int maxValue)
          Use this create message if the generator to be attached is a Split one:
 
Methods implemented by this class for interface swarm.random.IntegerDistribution
getIntegerSample
 
Methods implemented by this class for interface swarm.random.UniformIntegerDistS
setIntegerMin$setMax
 
Methods implemented by this class for interface swarm.random.UniformIntegerDist
getIntegerMax, getIntegerMin, getIntegerWithMin$withMax
 
Methods implemented by this class for interface swarm.random.ProbabilityDistributionS
reset, setGenerator, setGenerator$setVirtualGenerator
 
Methods implemented by this class for interface swarm.random.ProbabilityDistribution
getCurrentCount, getGenerator, getOptionsInitialized, getVirtualGenerator
 
Methods implemented by this class for interface swarm.objectbase.SwarmObject
getCompleteProbeMap, getProbeForMessage, getProbeForVariable, getProbeMap
 
Methods implemented by this class for interface swarm.random.InternalState
describe, getMagic, getName, getStateSize
 
Methods implemented by this class for interface swarm.defobj.Drop
drop
 
Methods implemented by this class for 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 class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniformIntegerDistImpl

public UniformIntegerDistImpl()

UniformIntegerDistImpl

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

UniformIntegerDistImpl

public UniformIntegerDistImpl(Zone aZone,
                              Object generator,
                              int minValue,
                              int maxValue)
Use this create message if the generator to be attached is a Simple one:

UniformIntegerDistImpl

public UniformIntegerDistImpl(Zone aZone)
Default constructor for Impl class

UniformIntegerDistImpl

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

UniformIntegerDistImpl

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