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