Gecode::Search::Stop Class Reference
[Stop-objects for stopping search]
Base-class for Stop-object. More...
#include <search.hh>
Public Member Functions | |
| Stop (void) | |
| Default constructor. | |
| virtual bool | stop (const Statistics &s, const Options &o)=0 |
| Stop search, if returns true. | |
| virtual | ~Stop (void) |
| Destructor. | |
Detailed Description
Base-class for Stop-object.
Definition at line 199 of file search.hh.
Constructor & Destructor Documentation
| Gecode::Search::Stop::Stop | ( | void | ) | [inline] |
| Gecode::Search::Stop::~Stop | ( | void | ) | [inline, virtual] |
Member Function Documentation
| virtual bool Gecode::Search::Stop::stop | ( | const Statistics & | s, | |
| const Options & | o | |||
| ) | [pure virtual] |
Stop search, if returns true.
Implemented in Gecode::Driver::Cutoff, Gecode::Search::MemoryStop, Gecode::Search::NodeStop, Gecode::Search::FailStop, and Gecode::Search::TimeStop.
The documentation for this class was generated from the following files:
- gecode/search.hh (Revision: 11498)
- gecode/search/stop.hpp (Revision: 9047)
