Algorithm::StopCriterias Namespace Reference

Contains implementation of stop criterias used by genetic algorithms. More...


Classes

class  GaGenerationCriteriaParams
 GaGenerationCriteriaParams class is used by GaGenerationCriteria class as parameters for the criteria. It contains number of generation after which execution of algorithm should be stopped. More...
class  GaGenerationCriteria
 GaGenerationCriteria is used to stop genetic algorithm when it reaches specified number of generations. This stop criteria uses GaGenerationCriteriaParams class as parameters. More...
class  GaFitnessCriteriaParams
 GaFitnessCriteriaParams class is used by GaFitnessCriteria class as parameters for the criteria. It contains desired fitness value of specified type and it also specifies type of comparison which is used to compare desired and current fitness values. More...
class  GaFitnessCriteria
 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...
class  GaFitnessProgressCriteriaParams
 GaFitnessProgressCriteriaParams class is used by GaFitnessProgressCriteria class as parameters for the criteria. It contains desired progress of fitness value of specified type; it also specifies type of comparison which is used to compare desired and current progresses and number of generation which should continuously fail to meet required progress before algorithm stops. More...
class  GaFitnessProgressCriteria
 GaFitnessProgressCriteria is used to stop genetic algorithm when specified number of generations fail to meet required progress of defined type of fitness value. This stop criteria uses GaFitnessProgressCriteriaParams class as parameters. More...

Enumerations

enum  GaFitnessCriteriaComparison {
  GFC_LESS_THEN = 0x1, GFC_MORE_THEN = 0x2, GFC_EQUALS_TO = 0x4, GFC_LESS_THEN_EQUALS_TO = GFC_LESS_THEN | GFC_EQUALS_TO,
  GFC_MORE_THEN_EQUALS_TO = GFC_MORE_THEN | GFC_EQUALS_TO
}
 This enumeration is used by stop criterias which are based on fitness values to specify type of comparison of current and desired values. More...


Detailed Description

Contains implementation of stop criterias used by genetic algorithms.


Enumeration Type Documentation

This enumeration is used by stop criterias which are based on fitness values to specify type of comparison of current and desired values.

Enumerator:
GFC_LESS_THEN  comparison should return true if current value is less then desired.

GFC_MORE_THEN  comparison should return true if current value is greater then desired value.

GFC_EQUALS_TO  comparison should return true if current value and desired value are equal.

GFC_LESS_THEN_EQUALS_TO  comparison should return true if current value is less then or equals to desired value.

GFC_MORE_THEN_EQUALS_TO  comparison should return true if current value is greater then or equals to desired value.


Genetic Algorithm Library
Coolsoft Software Development