GaFitnessCriteria
is used to stop genetic algorithm when specified type of fitness value reaches desired value. This stop criteria uses GaFitnessCriteriaParams class as parameters.
More...
#include <D:/Temp/vs/gal/source/StopCriterias.h>
Inherits Algorithm::GaStopCriteria.
Public Member Functions | |
virtual bool GACALL | Evaluate (const GaAlgorithm &algorithm, const GaStopCriteriaParams ¶meters) const |
More details are given in specification of GaStopCriteria::Evaluate method. | |
virtual GaParameters *GACALL | MakeParameters () const |
More details are given in specification of GaOperation::MakeParameters method. | |
virtual bool GACALL | CheckParameters (const GaParameters ¶meters) const |
More details are given in specification of GaOperation::CheckParameters method. |
GaFitnessCriteria
is used to stop genetic algorithm when specified type of fitness value reaches desired value. This stop criteria uses GaFitnessCriteriaParams class as parameters.
This class has no built-in synchronizator, so LOCK_OBJECT
and LOCK_THIS_OBJECT
macros cannot be used with instances of this class. Because this genetic operation is stateless all public method are thread-safe.
bool Algorithm::StopCriterias::GaFitnessCriteria::Evaluate | ( | const GaAlgorithm & | algorithm, | |
const GaStopCriteriaParams & | parameters | |||
) | const [virtual] |
More details are given in specification of GaStopCriteria::Evaluate method.
This method is thread-safe.
Implements Algorithm::GaStopCriteria.
virtual GaParameters* GACALL Algorithm::StopCriterias::GaFitnessCriteria::MakeParameters | ( | ) | const [inline, virtual] |
More details are given in specification of GaOperation::MakeParameters method.
This method is thread-safe.
Implements Common::GaOperation.
virtual bool GACALL Algorithm::StopCriterias::GaFitnessCriteria::CheckParameters | ( | const GaParameters & | parameters | ) | const [inline, virtual] |
More details are given in specification of GaOperation::CheckParameters method.
This method is thread-safe.
true
.Implements Common::GaOperation.