Algorithm Namespace Reference

Contains interfaces, classes and datatypes that are used by implementations of genetic algorithms. More...


Classes

class  GaAlgorithmParams
 Interface for parameters of genetic algorithm. More...
class  GaAlgorithm
 Interface for genetic algorithms. More...
class  GaBaseAlgorithm
 This class implements control of algorithm's execution and its state. It also provides synchronization for multithreading control of algorithm. More...
class  GaStopCriteriaParams
 Interface for parameters of stop criteria operation. More...
class  GaStopCriteria
 This class is interface for stop criteria of genetic algorithm. More...
class  GaMultithreadingAlgorithmParams
 This class should be used (directly or by inheritance) by genetic algorithms which use multiple threads for parallel execution of work. More...
class  GaMultithreadingAlgorithm
 This class implements features to allow parallel execution of some operations of genetic algorithm. It runs multiple threads which execute work which can be done in parallel, one control thread which controls workers and executes all operations which must be executed sequentially. More...

Namespaces

namespace  SimpleAlgorithms
 Contains implementation of simple genetic algorithms.
namespace  StopCriterias
 Contains implementation of stop criterias used by genetic algorithms.

Typedefs

typedef
GaOperationParametersPair
< GaStopCriteria,
GaStopCriteriaParams
GaStopCriteriaPair
 GaStopCriteriaCatalogue type is instance of GaCatalogue template class and represents catalogue of stop criterias. Detailed description can be found in specification of GaCatalogue template class.
typedef GaCatalogue
< GaStopCriteria
GaStopCriteriaCatalogue
 GaStopCriteriaPair type is instance of GaOperationParametersPair template class and represents pair of stop criteria and its parameters. Detailed description can be found in specification of GaOperationParametersPair template class.

Enumerations

enum  GaAlgorithmThreadType { GATT_CONTROL = 0, GATT_WORK = 1 }
 This enumeration is used to identify type of thread which is used for execution by the genetic algorithm. More...
enum  GaAlgorithmState {
  GAS_UNINITIALIZED = 0x1, GAS_USER_STOPED = 0x2, GAS_CRITERIA_STOPPED = 0x4, GAS_PAUSED = 0x8,
  GAS_RUNNING = 0x10, GAS_NOT_RUNNING = 0xF, GAS_STOPPED = 0x6
}
 This enumeration defines states of an algorithm. More...


Detailed Description

Contains interfaces, classes and datatypes that are used by implementations of genetic algorithms.


Typedef Documentation

GaStopCriteriaPair type is instance of GaOperationParametersPair template class and represents pair of stop criteria and its parameters. Detailed description can be found in specification of GaOperationParametersPair template class.

GaStopCriteriaCatalogue type is instance of GaCatalogue template class and represents catalogue of stop criterias. Detailed description can be found in specification of GaCatalogue template class.


Enumeration Type Documentation

This enumeration defines states of an algorithm.

Enumerator:
GAS_UNINITIALIZED  algorithm its populations and other control and data structures is not initialized.

GAS_USER_STOPED  algorithm execution is stopped by the user.

GAS_CRITERIA_STOPPED  algorithm reached given criteria and it is stopped.

GAS_PAUSED  temporary paused, but it can resume execution at any time.

GAS_RUNNING  algorithm is running.

GAS_NOT_RUNNING  used for testing of state of an algorithm and includes all states except running state.

GAS_STOPPED  used to test an algorithm, for one of two possible stopped states.

This enumeration is used to identify type of thread which is used for execution by the genetic algorithm.

Enumerator:
GATT_CONTROL  represents control thread.

GATT_WORK  represents worker thread.


Genetic Algorithm Library
Coolsoft Software Development