com.metsci.glimpse.util.math.stochastic
Class StochasticEngineLcp

java.lang.Object
  extended by 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

Nested Class Summary
static class StochasticEngineLcp.LcpState
           
 
Nested classes/interfaces inherited from interface com.metsci.glimpse.util.math.stochastic.StochasticEngine
StochasticEngine.State
 
Constructor Summary
StochasticEngineLcp(StochasticEngineLcp.LcpState state)
           
 
Method Summary
static StochasticEngineLcp createEngine(long lcpStateSeed)
           
 Generator getGenerator()
           
 StochasticEngine.State getState()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StochasticEngineLcp

public StochasticEngineLcp(StochasticEngineLcp.LcpState state)
Method Detail

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.