00001
00014 #ifndef _InBetweenCrossover_h
00015 #define _InBetweenCrossover_h
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #include "CrossoverMethod.h"
00026
00027
00028
00029
00030
00031 class InBetweenCrossover
00032 : public CrossoverMethod
00033 {
00034 public:
00035
00036
00039 ~InBetweenCrossover(void);
00040
00041
00042
00043
00046 virtual std::auto_ptr<CrossoverMethod> Clone() const;
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061 virtual void Crossover
00062 (Population& population,
00063 double crossoverRate,
00064 EvolutionaryMethodIteration& iteration) const;
00065
00066
00067
00072 virtual wxString ToString() const;
00073
00078 virtual wxString Name() const;
00079
00080
00081
00082 protected:
00083 private:
00084
00087 InBetweenCrossover(void);
00088
00093 InBetweenCrossover(const InBetweenCrossover& from);
00094
00097 static InBetweenCrossover mInBetweenCrossover;
00100 static const wxString mName;
00101
00102 };
00103
00104
00105
00106
00107
00108
00109
00110 #endif // _InBetweenCrossover_h