00001 #ifndef SelRandomOp_h 00002 #define SelRandomOp_h 00003 00004 #include "SelectionOperator.h" 00005 00011 class SelRandomOp : public SelectionOperator 00012 { 00013 protected: 00014 RandomizerP randomizer_; 00015 public: 00016 bool initialize(StateP); 00017 IndividualP select(const std::vector<IndividualP>&); 00018 }; 00019 typedef boost::shared_ptr<SelRandomOp> SelRandomOpP; 00020 00021 #endif // SelRandomOp_h 00022