ECF 1.5
BinaryCrsRandomRespectful.h
1#ifndef BINARYRANDOMRESPECTFULCRS_H_
2#define BINARYRANDOMRESPECTFULCRS_H_
3
4#include "Binary.h"
5
6namespace Binary
7{
8
13{
14public:
15 bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child);
16 bool initialize(StateP);
17 void registerParameters(StateP);
18};
19typedef boost::shared_ptr<BinaryCrsRandomRespectful> BinaryCrsRandomRespectfulP;
20}
21
22#endif /* BINARYRANDOMRESPECTFULCRS_H_ */
Binary genotype: random respectful crossover operator. Described on http://www.tomaszgwiazda....
bool initialize(StateP)
Initialize crossover operator. Called before first crossover operation.
void registerParameters(StateP)
Register parameters with the system. Called before CrossoverOp::initialize.
bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child)
CrossoverOp base class.
Definition: Crossover.h:19