net.sourceforge.jabm.distribution
Class EmpiricalDistribution
java.lang.Object
cern.colt.PersistentObject
cern.jet.random.AbstractDistribution
cern.jet.random.AbstractContinousDistribution
net.sourceforge.jabm.distribution.EmpiricalDistribution
- All Implemented Interfaces:
- cern.colt.function.DoubleFunction, cern.colt.function.IntFunction, java.io.Serializable, java.lang.Cloneable, org.springframework.beans.factory.InitializingBean
public class EmpiricalDistribution
- extends cern.jet.random.AbstractContinousDistribution
- implements org.springframework.beans.factory.InitializingBean
- See Also:
- Serialized Form
-
-
Field Summary |
protected int |
binCount
|
protected java.lang.String |
dataFileName
|
protected org.apache.commons.math3.random.EmpiricalDistribution |
delegate
|
protected cern.jet.random.engine.RandomEngine |
prng
|
Fields inherited from class cern.jet.random.AbstractDistribution |
randomGenerator |
Fields inherited from class cern.colt.PersistentObject |
serialVersionUID |
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 |
delegate
protected org.apache.commons.math3.random.EmpiricalDistribution delegate
dataFileName
protected java.lang.String dataFileName
binCount
protected int binCount
prng
protected cern.jet.random.engine.RandomEngine prng
EmpiricalDistribution
public EmpiricalDistribution()
nextDouble
public double nextDouble()
- Specified by:
nextDouble
in class cern.jet.random.AbstractDistribution
getDataFileName
public java.lang.String getDataFileName()
setDataFileName
public void setDataFileName(java.lang.String dataFileName)
getBinCount
public int getBinCount()
setBinCount
public void setBinCount(int binCount)
getPrng
public cern.jet.random.engine.RandomEngine getPrng()
setPrng
public void setPrng(cern.jet.random.engine.RandomEngine prng)
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception