Simulation Core Library

org.simulator.math
Class RNG

java.lang.Object
  extended by org.simulator.math.RNG

public class RNG
extends Object

A Random Number Generator.

Since:
0.9
Version:
$Rev: 454 $
Author:
Marcel Kronfeld

Constructor Summary
RNG()
           
 
Method Summary
static int randomInt(int low, int high)
          Generates a random integer between first and second input value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RNG

public RNG()
Method Detail

randomInt

public static int randomInt(int low,
                            int high)
Generates a random integer between first and second input value.

Parameters:
low -
high -
Returns:
randomNumber

Generated at March 17 2014
Version 1.4 Revision 453