swarm.random
Class UniformIntegerDistImpl
java.lang.Object
|
+--swarm.BaseImpl
|
+--swarm.random.UniformIntegerDistImpl
- public class UniformIntegerDistImpl
- extends BaseImpl
- implements IntegerDistribution, IntegerDistributionS, 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)
The createWithDefaults method creates a distribution object with a default set of seeds and parameters, and its own private generator. |
UniformIntegerDistImpl(Zone aZone,
SimpleRandomGenerator simpleGenerator)
Use this create message if the generator to be attached is a Simple one: |
UniformIntegerDistImpl(Zone aZone,
SimpleRandomGenerator simpleGenerator,
int minValue,
int maxValue)
Use this create message if the generator to be attached is a Simple one: |
UniformIntegerDistImpl(Zone aZone,
SplitRandomGenerator splitGenerator,
int vGen)
Use this create message if the generator to be attached is a Split one: |
UniformIntegerDistImpl(Zone aZone,
SplitRandomGenerator splitGenerator,
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.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 implemented by this class for interface swarm.defobj.GetName |
getName |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
UniformIntegerDistImpl
public UniformIntegerDistImpl()
UniformIntegerDistImpl
public UniformIntegerDistImpl(Zone aZone,
SplitRandomGenerator splitGenerator,
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,
SimpleRandomGenerator simpleGenerator,
int minValue,
int maxValue)
- Use this create message if the generator to be attached is a Simple one:
UniformIntegerDistImpl
public UniformIntegerDistImpl(Zone aZone,
SimpleRandomGenerator simpleGenerator)
- Use this create message if the generator to be attached is a Simple one:
UniformIntegerDistImpl
public UniformIntegerDistImpl(Zone aZone,
SplitRandomGenerator splitGenerator,
int vGen)
- Use this create message if the generator to be attached is a Split one:
UniformIntegerDistImpl
public UniformIntegerDistImpl(Zone aZone)
- The createWithDefaults method creates a distribution object with a default set of seeds and parameters, and its own private generator.