jmetal.util
Class RandomGenerator
java.lang.Object
jmetal.util.RandomGenerator
- All Implemented Interfaces:
- IRandomGenerator
public class RandomGenerator
- extends java.lang.Object
- implements IRandomGenerator
This code has been taken from deb NSGA-II implementation
The code is available to download from
http://www.iitk.ac.in/kangal/codes.shtml
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomGenerator
public RandomGenerator()
- Constructor
nextInt
public int nextInt(int upperBound)
- Specified by:
nextInt
in interface IRandomGenerator
nextDouble
public double nextDouble()
- Specified by:
nextDouble
in interface IRandomGenerator
rndInt
public int rndInt(int low,
int high)
rndReal
public double rndReal(double low,
double high)