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