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 112 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
|
Default constructor.
|
|
Destructor.
|
Member Function Documentation
|
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: 3516)
- gecode/search/stop.icc (Revision: 3511)