00001 #ifndef PERMUTATIONCRSCOSA_H 00002 #define PERMUTATIONCRSCOSA_H 00003 00004 #include "Permutation.h" 00005 00006 00007 namespace Permutation 00008 { 00009 00014 class PermutationCrsCOSA : 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<PermutationCrsCOSA> PermutationCrsCOSAP; 00022 } 00023 #endif //PERMUTATIONCRSCOSA_H