ECF 1.5
GEPChromosomeCrsTwoPoint.h
1#ifndef GEPCHROMOSOMECRSTWOPOINT_H
2#define GEPCHROMOSOMECRSTWOPOINT_H
3#include "../ECF_base.h"
4#include "GEPChromosome.h"
5namespace GEPChromosome
6{
14 {
15 public:
16 bool initialize(StateP);
17 void registerParameters(StateP);
18 bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child);
19 };
20 typedef boost::shared_ptr<GEPChromosomeCrsTwoPoint> GEPChromosomeCrsTwoPointP;
21}
22#endif // GEPChromosomeCrsTwoPoint_h
CrossoverOp base class.
Definition: Crossover.h:19
GEPChromosome genotype: two point crx operator. Selects two crossing points between which to exchange...
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.