ECF 1.5
BinaryCrsSegmented.h
1#ifndef BINARYSEGMENTEDCRS_H_
2#define BINARYSEGMENTEDCRS_H_
3
4
5namespace Binary
6{
7
13{
14public:
15 bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child);
16 bool initialize(StateP);
17 void registerParameters(StateP);
18};
19typedef boost::shared_ptr<BinaryCrsSegmented> BinaryCrsSegmentedP;
20}
21
22#endif /* BINARYSEGMENTEDCRS_H_ */
23
Binary genotype: segmented 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.
CrossoverOp base class.
Definition: Crossover.h:19