public class Genesis
extends java.lang.Object
Class that creates individuals
Constructor and Description |
---|
Genesis()
Empty constructor
|
Modifier and Type | Method and Description |
---|---|
static double |
frandom(double min,
double max)
Generate random double between min and max
|
static int |
irandom(double min,
double max)
Generate random int between min and max using r seed
|
static void |
main(java.lang.String[] args)
Main function
|
public static void main(java.lang.String[] args)
Main function
args
- public static double frandom(double min, double max)
Generate random double between min and max
min
- Min valuemax
- Max valuepublic static int irandom(double min, double max)
Generate random int between min and max using r seed
min
- Min valuemax
- Max value