com.metsci.glimpse.util.math.stochastic
Class StochasticEngineLcp
java.lang.Object
com.metsci.glimpse.util.math.stochastic.StochasticEngineLcp
- All Implemented Interfaces:
- StochasticEngine
public final class StochasticEngineLcp
- extends java.lang.Object
- implements StochasticEngine
This engine is based around the same Linear Congruential Pseudorandom (LCP)
number generator used in java.util.Random. It is described in Knuth's book.
- Author:
- osborn
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StochasticEngineLcp
public StochasticEngineLcp(StochasticEngineLcp.LcpState state)
getState
public final StochasticEngine.State getState()
- Specified by:
getState
in interface StochasticEngine
getGenerator
public final Generator getGenerator()
- Specified by:
getGenerator
in interface StochasticEngine
createEngine
public static StochasticEngineLcp createEngine(long lcpStateSeed)
Copyright © 2012 Metron, Inc.. All Rights Reserved.