Orthogonal crossover operator, by design implemented as algorithm. More...
#include <AlgHybridOrthogonalCrossover.h>
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 | |
| uint | nCrxProb_ |
| crossover probability | |
| uint | elitism |
| SelectionOperatorP | selRandomOp |
| SelectionOperatorP | selWorstOp |
| SelectionOperatorP | selBestOp |
Orthogonal crossover operator, by design implemented as algorithm.
Definition at line 9 of file AlgHybridOrthogonalCrossover.h.
| bool HybridOrthogonalCrossover::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 54 of file AlgHybridOrthogonalCrossover.cpp.
| bool HybridOrthogonalCrossover::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 36 of file AlgHybridOrthogonalCrossover.cpp.
| void HybridOrthogonalCrossover::registerParameters | ( | StateP | ) | [virtual] |
Register algorithm's parameters (if any).
Called by the system before algorithm initialization (Algorithm::initialize)
Reimplemented from Algorithm.
Definition at line 29 of file AlgHybridOrthogonalCrossover.cpp.
1.7.1