|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmetal.util.RandomGenerator
public class RandomGenerator
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
Constructor Summary | |
---|---|
RandomGenerator()
Constructor |
Method Summary | |
---|---|
double |
nextDouble()
|
int |
nextInt(int upperBound)
|
int |
rndInt(int low,
int high)
|
double |
rndReal(double low,
double high)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RandomGenerator()
Method Detail |
---|
public int nextInt(int upperBound)
nextInt
in interface IRandomGenerator
public double nextDouble()
nextDouble
in interface IRandomGenerator
public int rndInt(int low, int high)
public double rndReal(double low, double high)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |