ECF 1.7
PermutationCrsCyclic.h
1#ifndef PERMUTATIONCRSCYCLIC_H
2#define PERMUTATIONCRSCYCLIC_H
3
4#include "Permutation.h"
5
6
7namespace Permutation
8{
9
14class PermutationCrsCyclic : public CrossoverOp
15{
16public:
17 bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child);
18 bool initialize(StateP);
19 void registerParameters(StateP);
20};
21typedef std::shared_ptr<PermutationCrsCyclic> PermutationCrsCyclicP;
22}
23#endif //PERMUTATIONCRSCYCLIC_H
Permutation genotype: Cyclic crossover operator (see e.g. http://www.rubicite.com/Tutorials/GeneticAl...
void registerParameters(StateP)
Register parameters with the system. Called before CrossoverOp::initialize.
bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child)
bool initialize(StateP)
Initialize crossover operator. Called before first crossover operation.