ECF 1.7
FloatingPointCrsArithmeticSimple.h
1#ifndef FLOATINGPOINTCRSARITHMETICSIMPLE_H_
2#define FLOATINGPOINTCRSARITHMETICSIMPLE_H_
3
4
5namespace FloatingPoint
6{
7
12class FloatingPointCrsArithmeticSimple: public CrossoverOp
13{
14public:
15 bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child);
16 bool initialize(StateP);
17 void registerParameters(StateP);
18};
19typedef std::shared_ptr<FloatingPointCrsArithmeticSimple> FloatingPointCrsArithmeticSimpleP;
20}
21#endif /* FLOATINGPOINTCRSARITHMETICSIMPLE_H_ */
22
FloatingPoint genotype: take recombination point k. Child 1 is parent1 until k, rest is arithmetic av...
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.