00001 #ifndef PERMUTATIONCRSCYCLIC2_H 00002 #define PERMUTATIONCRSCYCLIC2_H 00003 00004 #include "Permutation.h" 00005 00006 00007 namespace Permutation 00008 { 00009 00013 class PermutationCrsCyclic2 : public CrossoverOp 00014 { 00015 public: 00016 bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child); 00017 bool initialize(StateP); 00018 void registerParameters(StateP); 00019 }; 00020 typedef boost::shared_ptr<PermutationCrsCyclic2> PermutationCrsCyclic2P; 00021 } 00022 #endif //PERMUTATIONCRSCYCLIC2_H