swarm.random
Class NormalDistImpl

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

public class NormalDistImpl
extends Object
implements NormalS, Normal, NormalDistS, NormalDist

Normal (Gaussian) distribution. A well-known continuous probability distribution returning doubles.


Constructor Summary
NormalDistImpl()
           
NormalDistImpl(Zone aZone)
          Default constructor for Impl class
NormalDistImpl(Zone aZone, Object generator)
          Use this create message if the generator to be attached is a Simple one:
NormalDistImpl(Zone aZone, Object generator, 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, Object generator, int vGen)
          Use this create message if the generator to be attached is a Split one:
NormalDistImpl(Zone aZone, Object generator, 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.random.NormalS
setMean$setStdDev, setMean$setVariance
 
Methods implemented by this class for interface swarm.random.Normal
getMean, getSampleWithMean$withStdDev, getSampleWithMean$withVariance, getStdDev, getVariance
 
Methods implemented by this class for interface swarm.random.ProbabilityDistributionS
reset, setGenerator, setGenerator$setVirtualGenerator
 
Methods implemented by this class for interface swarm.random.DoubleDistribution
getDoubleSample
 
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

NormalDistImpl

public NormalDistImpl()

NormalDistImpl

public NormalDistImpl(Zone aZone,
                      Object generator,
                      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,
                      Object generator,
                      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)
Default constructor for Impl class

NormalDistImpl

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

NormalDistImpl

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