ECF 1.5
PermutationCrsCOSA.h
1#ifndef PERMUTATIONCRSCOSA_H
2#define PERMUTATIONCRSCOSA_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<PermutationCrsCOSA> PermutationCrsCOSAP;
22}
23#endif //PERMUTATIONCRSCOSA_H
CrossoverOp base class.
Definition: Crossover.h:19
Permutation genotype: COSA crossover operator (adapted from HeuristicLab)
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)