ECF 1.7
BinaryCrsNonGeometric.h
1#ifndef BINARYCRSNONGEOMETRIC_H_
2#define BINARYCRSNONGEOMETRIC_H_
3
4#include "Binary.h"
5
6namespace Binary
7{
8
9
13class BinaryCrsNonGeometric: public CrossoverOp
14{
15public:
16 bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child);
17 bool initialize(StateP);
18 void registerParameters(StateP);
19};
20typedef std::shared_ptr<BinaryCrsNonGeometric> BinaryCrsNonGeometricP;
21}
22
23#endif /* BINARYCRSNONGEOMETRIC_H_ */
24
Binary genotype: non geometric crossover operator.
bool initialize(StateP)
Initialize crossover operator. Called before first crossover operation.
bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child)
void registerParameters(StateP)
Register parameters with the system. Called before CrossoverOp::initialize.