Base-class for Stop-object. More...
#include <search.hh>
Public Member Functions | |
Stop (void) | |
Default constructor. More... | |
virtual bool | stop (const Statistics &s, const Options &o)=0 |
Stop search, if returns true. More... | |
virtual | ~Stop (void) |
Destructor. More... | |
Static Public Member Functions | |
static void * | operator new (size_t s) |
Allocate memory from heap. More... | |
static void | operator delete (void *p) |
Free memory allocated from heap. More... | |
|
inline |
|
inlinevirtual |
|
pure virtual |
Stop search, if returns true.
Implemented in Gecode::Search::MetaStop, Gecode::Search::TimeStop, Gecode::Search::FailStop, Gecode::Search::NodeStop, and Gecode::Driver::CombinedStop.
|
inlinestatic |
|
inlinestatic |