ECF 1.5
PermutationCrsCyclic2.h
1#ifndef PERMUTATIONCRSCYCLIC2_H
2#define PERMUTATIONCRSCYCLIC2_H
3
4#include "Permutation.h"
5
6
7namespace Permutation
8{
9
15{
16public:
17 bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child);
18 bool initialize(StateP);
19 void registerParameters(StateP);
20};
21typedef boost::shared_ptr<PermutationCrsCyclic2> PermutationCrsCyclic2P;
22}
23#endif //PERMUTATIONCRSCYCLIC2_H
CrossoverOp base class.
Definition: Crossover.h:19
Permutation genotype: Cyclic version 2 crossover operator (adapted from HeuristicLab)
bool initialize(StateP)
Initialize crossover operator. Called before first crossover operation.
void registerParameters(StateP)
Register parameters with the system. Called before CrossoverOp::initialize.
bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child)