Package org.openjdk.jmh.samples
Class JMHSample_25_API_GA.Population
java.lang.Object
org.openjdk.jmh.samples.JMHSample_25_API_GA.Population
- Enclosing class:
JMHSample_25_API_GA
Population.
-
Field Details
-
list
-
-
Constructor Details
-
Population
public Population()
-
-
Method Details
-
addChromosome
-
selectToBreed
Select the breeding material. Solutions with better score have better chance to be selected.- Returns:
- breed
-
size
public int size() -
getAll
-