public interface Population extends Iterable<Individual>
Modifier and Type | Method and Description |
---|---|
void |
addIndividual(Individual individual) |
void |
clearIndividuals(List<Individual> individuals) |
void |
createIndividuals()
Subclass-specific method to load the individuals from a file or create them based on other
properties.
|
void |
setup()
Prepare the population for use.
|
int |
size() |
void |
writeAppropriateFormat(String fileName,
ResultSet results)
Save the output data in this population to a file, using a format that is appropriate for the
specific class of population.
|
forEach, iterator, spliterator
void addIndividual(Individual individual)
void clearIndividuals(List<Individual> individuals)
int size()
void setup()
void createIndividuals()
void writeAppropriateFormat(String fileName, ResultSet results)
Copyright © 2019. All rights reserved.