ECF 1.7
BinaryCrsOnePoint.h
1#ifndef BINARYCRSONEPOINT_H_
2#define BINARYCRSONEPOINT_H_
3
4
5namespace Binary
6{
7
8
13class BinaryCrsOnePoint: 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<BinaryCrsOnePoint> BinaryCrsOnePointP;
21}
22
23#endif /* BINARYCRSONEPOINT_H_ */
24
Binary genotype: one point crossover operator.
bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child)
bool initialize(StateP)
Initialize crossover operator. Called before first crossover operation.
void registerParameters(StateP)
Register parameters with the system. Called before CrossoverOp::initialize.