1#ifndef FLOATINGPOINTCRSHEURISTIC_H_
2#define FLOATINGPOINTCRSHEURISTIC_H_
15 bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child);
19typedef boost::shared_ptr<FloatingPointCrsHeuristic> FloatingPointCrsHeuristicP;
FloatingPoint genotype: value on allele i smaller gene value + rand value * (greater - smaller value)
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.