Differential Evolution C++ library
|
#include <termination_strategy.hpp>
Public Member Functions | |
virtual bool | event (individual_ptr best, size_t genCount)=0 |
Abstract base class defining the interface used by a concrete Termination Strategy class
A termination strategy defines the logic used to stop the optimization process. Can be as simple as a generation counter that exits when the max number of generations has been reached, or can implement more complex algorithms that try to minimize the number of execution steps by determinining when a reasonable best value has been reached.
virtual bool de::termination_strategy::event | ( | individual_ptr | best, |
size_t | genCount | ||
) | [pure virtual] |
best | The best individual so far |
genCount | generation number |
Implemented in de::max_gen_termination_strategy.