ECF 1.7
PermutationCrsCOSA.h
1#ifndef PERMUTATIONCRSCOSA_H
2#define PERMUTATIONCRSCOSA_H
3
4#include "Permutation.h"
5
6
7namespace Permutation
8{
9
14class PermutationCrsCOSA : 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<PermutationCrsCOSA> PermutationCrsCOSAP;
22}
23#endif //PERMUTATIONCRSCOSA_H
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)