public abstract class AbstractDelegatedDistribution
extends cern.jet.random.AbstractContinousDistribution
implements org.springframework.beans.factory.InitializingBean
Modifier and Type | Field and Description |
---|---|
protected cern.jet.random.AbstractContinousDistribution |
delegate |
protected boolean |
initialised |
protected cern.jet.random.engine.RandomEngine |
prng |
Constructor and Description |
---|
AbstractDelegatedDistribution() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
cern.jet.random.engine.RandomEngine |
getPrng() |
abstract void |
initialise() |
double |
nextDouble() |
void |
reinitialise()
Initialise the delegate provided that the bean has
already been configured.
|
void |
setPrng(cern.jet.random.engine.RandomEngine prng) |
protected cern.jet.random.engine.RandomEngine prng
protected cern.jet.random.AbstractContinousDistribution delegate
protected boolean initialised
public double nextDouble()
nextDouble
in class cern.jet.random.AbstractDistribution
public cern.jet.random.engine.RandomEngine getPrng()
public void setPrng(cern.jet.random.engine.RandomEngine prng)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public void reinitialise()
public abstract void initialise()
Copyright © 2014. All rights reserved.