jbil.util
Class JDKRandomStream

java.lang.Object
  extended by umontreal.iro.lecuyer.rng.RandomStreamBase
      extended by jbil.util.JDKRandomStream
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, umontreal.iro.lecuyer.rng.CloneableRandomStream, umontreal.iro.lecuyer.rng.RandomStream

public class JDKRandomStream
extends umontreal.iro.lecuyer.rng.RandomStreamBase

Implementation of the RandomStream interface of the SSJ library based on the standard JDK linear-congruential RNG.

Author:
Paulo G. S. da Fonseca
See Also:
Serialized Form

Constructor Summary
JDKRandomStream()
          Creates a JDK random stream.
JDKRandomStream(long seed)
          Creates a JDK random stream with an specified seed.
 
Method Summary
 void resetNextSubstream()
          Unsupported operation
 void resetStartStream()
          Unsupported operation
 void resetStartSubstream()
          Unsupported operation
 java.lang.String toString()
          Unsupported operation
 
Methods inherited from class umontreal.iro.lecuyer.rng.RandomStreamBase
clone, formatState, formatStateFull, increasedPrecision, nextArrayOfDouble, nextArrayOfInt, nextDouble, nextInt
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JDKRandomStream

public JDKRandomStream()
Creates a JDK random stream.


JDKRandomStream

public JDKRandomStream(long seed)
Creates a JDK random stream with an specified seed.

Parameters:
seed - The seed of the JDK RNG.
Method Detail

resetNextSubstream

public void resetNextSubstream()
Unsupported operation

Specified by:
resetNextSubstream in interface umontreal.iro.lecuyer.rng.RandomStream
Specified by:
resetNextSubstream in class umontreal.iro.lecuyer.rng.RandomStreamBase

resetStartStream

public void resetStartStream()
Unsupported operation

Specified by:
resetStartStream in interface umontreal.iro.lecuyer.rng.RandomStream
Specified by:
resetStartStream in class umontreal.iro.lecuyer.rng.RandomStreamBase

resetStartSubstream

public void resetStartSubstream()
Unsupported operation

Specified by:
resetStartSubstream in interface umontreal.iro.lecuyer.rng.RandomStream
Specified by:
resetStartSubstream in class umontreal.iro.lecuyer.rng.RandomStreamBase

toString

public java.lang.String toString()
Unsupported operation

Specified by:
toString in interface umontreal.iro.lecuyer.rng.RandomStream
Specified by:
toString in class umontreal.iro.lecuyer.rng.RandomStreamBase