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