#include <D:/Temp/vs/gal/source/Observing.h>
Inherits Observing::GaObserver.
Public Member Functions | |
virtual void GACALL | StatisticUpdate (const GaStatistics &statistics, const GaAlgorithm &algorithm) |
This method handles event which is raised at the end of a generation by the algorithm. | |
virtual void GACALL | NewBestChromosome (const GaChromosome &newChromosome, const GaAlgorithm &algorithm) |
This method handles event which is raised when algorithm finds new chromosome (solution) which is better then the best chromosome of previous generation. | |
virtual void GACALL | EvolutionStateChanged (GaAlgorithmState newState, const GaAlgorithm &algorithm) |
This method handles event which is raised when state of algorithm's execution is change. |
virtual void GACALL Observing::GaObserverAdapter::StatisticUpdate | ( | const GaStatistics & | statistics, | |
const GaAlgorithm & | algorithm | |||
) | [inline, virtual] |
This method handles event which is raised at the end of a generation by the algorithm.
statistics | reference to object with statistical information. | |
algorithm | reference the algorithm which raised event. |
Implements Observing::GaObserver.
virtual void GACALL Observing::GaObserverAdapter::NewBestChromosome | ( | const GaChromosome & | newChromosome, | |
const GaAlgorithm & | algorithm | |||
) | [inline, virtual] |
This method handles event which is raised when algorithm finds new chromosome (solution) which is better then the best chromosome of previous generation.
newChromosome | reference to the chromosome. | |
algorithm | reference the algorithm which raised event. |
Implements Observing::GaObserver.
virtual void GACALL Observing::GaObserverAdapter::EvolutionStateChanged | ( | GaAlgorithmState | newState, | |
const GaAlgorithm & | algorithm | |||
) | [inline, virtual] |
This method handles event which is raised when state of algorithm's execution is change.
newState | new state of algorithm's execution | |
algorithm | reference the algorithm which raised event. |
Implements Observing::GaObserver.