Public Member Functions | Protected Attributes

GeneticAnnealing Class Reference
[AlgorithmsSequential algorithms]

Genetic annealing algorithm (see e.g. http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.56.7606, http://drdobbs.com/architecture-and-design/184409333?pgno=10)Currently implemented only for minimization problems! More...

#include <AlgGeneticAnnealing.h>

Inheritance diagram for GeneticAnnealing:
Algorithm

List of all members.

Public Member Functions

bool advanceGeneration (StateP state, DemeP deme)
 Perform a single generation on a single deme.
bool initialize (StateP state)
 Initialize the algorithm, read parameters from the system, do a sanity check.
void registerParameters (StateP state)
 Register algorithm's parameters (if any).

Protected Attributes

bool isFirstGeneration_
double energyBank_
double * Th
double coolingF_
double dE_
SelBestOpP selBestOp_
bool elitism_

Detailed Description

Genetic annealing algorithm (see e.g. http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.56.7606, http://drdobbs.com/architecture-and-design/184409333?pgno=10)

Currently implemented only for minimization problems!

This algorithm is genotype independent (it can be used with any Genotype).

Definition at line 17 of file AlgGeneticAnnealing.h.


Member Function Documentation

bool GeneticAnnealing::advanceGeneration ( StateP  ,
DemeP   
) [virtual]

Perform a single generation on a single deme.

Must be implemented by a specific algorithm class

Implements Algorithm.

Definition at line 56 of file AlgGeneticAnnealing.cpp.

bool GeneticAnnealing::initialize ( StateP   )  [virtual]

Initialize the algorithm, read parameters from the system, do a sanity check.

Called by the system before the algorithm starts (Algorithm::advanceGeneration)

Reimplemented from Algorithm.

Definition at line 26 of file AlgGeneticAnnealing.cpp.

void GeneticAnnealing::registerParameters ( StateP   )  [virtual]

Register algorithm's parameters (if any).

Called by the system before algorithm initialization (Algorithm::initialize)

Reimplemented from Algorithm.

Definition at line 15 of file AlgGeneticAnnealing.cpp.


The documentation for this class was generated from the following files: