A dead engine (failed root) More...
#include <dead.hh>
Public Member Functions | |
Dead (const Statistics &stat0) | |
Initialize. More... | |
virtual Space * | next (void) |
Return next solution (NULL, if none exists or search has been stopped) More... | |
virtual Statistics | statistics (void) const |
Return statistics. More... | |
virtual bool | stopped (void) const |
Check whether engine has been stopped. More... | |
![]() | |
virtual void | constrain (const Space &b) |
Constrain future solutions to be better than b (raises exception) More... | |
virtual void | reset (Space *s) |
Reset engine to restart at space s (does nothing) More... | |
virtual NoGoods & | nogoods (void) |
Return no-goods (the no-goods are empty) More... | |
virtual | ~Engine (void) |
Destructor. More... | |
Protected Attributes | |
Statistics | stat |
Statistics. More... | |
Additional Inherited Members | |
![]() | |
static void * | operator new (size_t s) |
Memory management. More... | |
static void | operator delete (void *p) |
Free memory allocated from heap. More... | |
Gecode::Search::Meta::Dead::Dead | ( | const Statistics & | stat0 | ) |
|
virtual |
Return next solution (NULL, if none exists or search has been stopped)
Implements Gecode::Search::Engine.
|
virtual |
|
virtual |
Check whether engine has been stopped.
Implements Gecode::Search::Engine.
|
protected |