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
Useful for pausing and seeing what the
state of the algorithm is at any particular time and possibly changing
parameters etc before calling the run() method of the
GeneticAlgorithm again. |
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 testCopyright © 2014 BioJava. All rights reserved.