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