ECF 1.5
GEPChromosomeCrsOnePoint.h
1#ifndef GEPCHROMOSOMECRSONEPOINT_H
2#define GEPCHROMOSOMECRSONEPOINT_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<GEPChromosomeCrsOnePoint> GEPChromosomeCrsOnePointP;
21}
22#endif // GEPChromosomeCrsOnePoint_h
CrossoverOp base class.
Definition: Crossover.h:19
GEPChromosome genotype: one point crx operator. Selects a crossing point from which to exchange genet...
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.