generator2
Class RandomGenerator

java.lang.Object
  |
  +--generator2.RandomGenerator

public class RandomGenerator
extends java.lang.Object

Class for providing the random generator.


Field Summary
protected static java.util.Random r
          The random generator for the data generation.
protected static java.util.Random rep
          The random generator for reporting.
protected static java.util.Random viz
          The random generator for visualization.
 
Constructor Summary
RandomGenerator()
           
 
Method Summary
static java.util.Random get(java.util.Properties properties)
          Returns the random generator for data generation.
static java.util.Random getForReport(java.util.Properties properties)
          Returns the random generator for reporting.
static java.util.Random getForVisualization(java.util.Properties properties)
          Returns the random generator for visualization and other (unimportant) purposes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

r

protected static java.util.Random r
The random generator for the data generation.


rep

protected static java.util.Random rep
The random generator for reporting.


viz

protected static java.util.Random viz
The random generator for visualization.

Constructor Detail

RandomGenerator

public RandomGenerator()
Method Detail

get

public static java.util.Random get(java.util.Properties properties)
Returns the random generator for data generation.

Parameters:
properties - the properties of the generator

getForReport

public static java.util.Random getForReport(java.util.Properties properties)
Returns the random generator for reporting.

Parameters:
properties - the properties of the generator

getForVisualization

public static java.util.Random getForVisualization(java.util.Properties properties)
Returns the random generator for visualization and other (unimportant) purposes.

Parameters:
properties - the properties of the generator