Gecode::Search::Stop Class Reference
[Stop-objects for stopping search]
#include <search.hh>
Inherited by Gecode::Search::FailStop, Gecode::Search::MemoryStop, and Gecode::Search::TimeStop.
Detailed Description
Base-class for Stop-object.Definition at line 122 of file search.hh.
Public Member Functions | |
Stop (void) | |
Default constructor. | |
virtual bool | stop (const Statistics &s)=0 |
Stop search, if returns true (can be based on statistics s). | |
virtual | ~Stop (void) |
Destructor. |
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 | ) | [pure virtual] |
Stop search, if returns true (can be based on statistics s).
Implemented in Gecode::Search::MemoryStop, Gecode::Search::FailStop, and Gecode::Search::TimeStop.
The documentation for this class was generated from the following files:
- gecode/search.hh (Revision: 7310)
- gecode/search/stop.icc (Revision: 4790)