lemon/tabu_search.h
changeset 2337 9c3d44ac39fb
parent 2067 cd414bfbe38b
child 2370 ed6539025f27
equal deleted inserted replaced
0:3b7354df4359 1:cab3747046fc
   339 
   339 
   340     /// \brief Thrown by setting the size of the tabu-set and the given size
   340     /// \brief Thrown by setting the size of the tabu-set and the given size
   341     /// is less than 2.
   341     /// is less than 2.
   342     class BadParameterError : public lemon::LogicError {
   342     class BadParameterError : public lemon::LogicError {
   343     public:
   343     public:
   344       virtual const char* exceptionName() const {
   344       virtual const char* what() const throw() {
   345         return "lemon::TabuSearch::BadParameterError";
   345         return "lemon::TabuSearch::BadParameterError";
   346       }
   346       }
   347     };
   347     };
   348 
   348 
   349     ///Public types
   349     ///Public types