public interface GAStoppingCriteria
GeneticAlgorithm.run()
method
to determine when the algorithm should stopModifier and Type | Interface and Description |
---|---|
static class |
GAStoppingCriteria.MaximumGeneration
Simple Implementation of GAStoppingCriteria, signals
a
GeneticAlgorithm to stop after n generations |
Modifier and Type | Method and Description |
---|---|
boolean |
stop(GeneticAlgorithm ga)
Determines if an Algorithm should stop spawning new generations
|
boolean stop(GeneticAlgorithm ga)
ga
- the Algorithm to test