ECF 1.5
PermutationCrsOX2.h
1#ifndef PERMUTATIONCRSOX2_H
2#define PERMUTATIONCRSOX2_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<PermutationCrsOX2> PermutationCrsOX2P;
22}
23#endif //PERMUTATIONCRSOX2_H
CrossoverOp base class.
Definition: Crossover.h:19
Permutation genotype: Order crossover operator variant where algorithm starts from the beginning when...
void registerParameters(StateP)
Register parameters with the system. Called before CrossoverOp::initialize.
bool initialize(StateP)
Initialize crossover operator. Called before first crossover operation.
bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child)