jbil.util
Class RandomManager

java.lang.Object
  extended by jbil.util.RandomManager

public class RandomManager
extends java.lang.Object

Singleton class that controls a system-wide RNG.

Depends on the SSJ Library http://www.iro.umontreal.ca/~simardr/ssj/

Author:
Paulo G. S. da Fonseca

Method Summary
static RandomManager getInstance()
          Gets the singleton instance of this class.
 umontreal.iro.lecuyer.rng.RandomStream getRandomStream()
          Returns the system-wide RNG.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static RandomManager getInstance()
Gets the singleton instance of this class.


getRandomStream

public umontreal.iro.lecuyer.rng.RandomStream getRandomStream()
Returns the system-wide RNG.