public class UnifiedPopulation<I extends Individual>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
evolveLocalMT(int numThreads) |
Individual |
getAt(int pos) |
Individual |
getChampion()
Method to find the best individual and return it
|
long |
getEvolverSteps() |
Individual |
getRandomOne() |
int |
getSize() |
void |
insert(Individual immigrant)
Method to overwrite the genome of the individual at the end of the array
with an immigrant's genome.
|
void |
reboot() |
void |
reEvaluateAll() |
void |
setProgress(double p) |
public int getSize()
public void setProgress(double p)
public long getEvolverSteps()
public void insert(Individual immigrant)
immigrant
- The Individual to be inserted.public void reboot()
public void evolveLocalMT(int numThreads)
public void reEvaluateAll()
public Individual getChampion()
public Individual getRandomOne()
public Individual getAt(int pos)