net.sourceforge.jabm.distribution
Class NormalDistribution

java.lang.Object
  extended by cern.colt.PersistentObject
      extended by cern.jet.random.AbstractDistribution
          extended by cern.jet.random.AbstractContinousDistribution
              extended by net.sourceforge.jabm.distribution.AbstractDelegatedDistribution
                  extended by net.sourceforge.jabm.distribution.NormalDistribution
All Implemented Interfaces:
cern.colt.function.DoubleFunction, cern.colt.function.IntFunction, java.io.Serializable, java.lang.Cloneable, org.springframework.beans.factory.InitializingBean

public class NormalDistribution
extends AbstractDelegatedDistribution

See Also:
Serialized Form
 

Field Summary
protected  double mean
           
protected  double stdev
           
 
Fields inherited from class net.sourceforge.jabm.distribution.AbstractDelegatedDistribution
delegate, initialised, prng
 
Fields inherited from class cern.jet.random.AbstractDistribution
randomGenerator
 
Fields inherited from class cern.colt.PersistentObject
serialVersionUID
 
Constructor Summary
NormalDistribution()
           
 
Method Summary
 double getMean()
           
 double getStdev()
           
 void initialise()
           
 void setMean(double mean)
           
 void setStdev(double stdev)
           
 
Methods inherited from class net.sourceforge.jabm.distribution.AbstractDelegatedDistribution
afterPropertiesSet, getPrng, nextDouble, reinitialise, setPrng
 
Methods inherited from class cern.jet.random.AbstractDistribution
apply, apply, clone, getRandomGenerator, makeDefaultGenerator, nextInt, setRandomGenerator
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mean

protected double mean

stdev

protected double stdev
Constructor Detail

NormalDistribution

public NormalDistribution()
Method Detail

getMean

public double getMean()

setMean

public void setMean(double mean)

getStdev

public double getStdev()

setStdev

public void setStdev(double stdev)

initialise

public void initialise()
Specified by:
initialise in class AbstractDelegatedDistribution