swarm.random
Class NormalDistImpl
java.lang.Object
|
+--swarm.BaseImpl
|
+--swarm.random.NormalDistImpl
- public class NormalDistImpl
- extends BaseImpl
- implements Normal, NormalS, NormalDistS, NormalDist
Normal (Gaussian) distribution.
A well-known continuous probability distribution returning doubles.
Constructor Summary |
NormalDistImpl()
|
NormalDistImpl(Zone aZone)
The createWithDefaults method creates a distribution object with a default set of seeds and parameters, and its own private generator. |
NormalDistImpl(Zone aZone,
SimpleRandomGenerator simpleGenerator)
Use this create message if the generator to be attached is a Simple one: |
NormalDistImpl(Zone aZone,
SimpleRandomGenerator simpleGenerator,
double mean,
double sdev)
Use this create message if the generator to be attached is a Simple one and you wish to specify the standard deviation: |
NormalDistImpl(Zone aZone,
SplitRandomGenerator splitGenerator,
int vGen)
Use this create message if the generator to be attached is a Split one: |
NormalDistImpl(Zone aZone,
SplitRandomGenerator splitGenerator,
int vGen,
double mean,
double sdev)
Use this create message if the generator to be attached is a Split one and you wish to specify the standard deviation: |
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 |
NormalDistImpl
public NormalDistImpl()
NormalDistImpl
public NormalDistImpl(Zone aZone,
SplitRandomGenerator splitGenerator,
int vGen,
double mean,
double sdev)
- Use this create message if the generator to be attached is a Split one and you wish to specify the standard deviation:
NormalDistImpl
public NormalDistImpl(Zone aZone,
SimpleRandomGenerator simpleGenerator,
double mean,
double sdev)
- Use this create message if the generator to be attached is a Simple one and you wish to specify the standard deviation:
NormalDistImpl
public NormalDistImpl(Zone aZone,
SimpleRandomGenerator simpleGenerator)
- Use this create message if the generator to be attached is a Simple one:
NormalDistImpl
public NormalDistImpl(Zone aZone,
SplitRandomGenerator splitGenerator,
int vGen)
- Use this create message if the generator to be attached is a Split one:
NormalDistImpl
public NormalDistImpl(Zone aZone)
- The createWithDefaults method creates a distribution object with a default set of seeds and parameters, and its own private generator.