public static class JMHSample_25_API_GA.Population
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.List<JMHSample_25_API_GA.Chromosome> |
list |
Constructor and Description |
---|
Population() |
Modifier and Type | Method and Description |
---|---|
void |
addChromosome(JMHSample_25_API_GA.Chromosome c) |
java.util.List<JMHSample_25_API_GA.Chromosome> |
getAll() |
JMHSample_25_API_GA.Chromosome |
selectToBreed()
Select the breeding material.
|
int |
size() |
private final java.util.List<JMHSample_25_API_GA.Chromosome> list
public void addChromosome(JMHSample_25_API_GA.Chromosome c)
public JMHSample_25_API_GA.Chromosome selectToBreed()
public int size()
public java.util.List<JMHSample_25_API_GA.Chromosome> getAll()