Gecode::Search::Seq::Dead< Tracer > Class Template Reference
A dead engine (failed root). More...
Public Member Functions | |
| Dead (const Options &o, const Statistics &stat0) | |
| Initialize. | |
| virtual Space * | next (void) |
| Return next solution (nullptr, 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 bool | limited (void) const |
| Whether the engine stopped at a local limit (such as a CABS width limit) and cannot continue. | |
| 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. | |
| Protected Attributes inherited from Gecode::Search::Engine | |
| WorkerControl | worker_control |
| Control retained for the lifetime of a leaf engine. | |
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. | |
| Protected Member Functions inherited from Gecode::Search::Engine | |
| Engine (void) | |
| Construct a meta engine without worker control. | |
| Engine (const Options &o, unsigned int capacity) | |
| Construct a leaf engine and bind worker control to capacity. | |
Detailed Description
template<class Tracer>
class Gecode::Search::Seq::Dead< Tracer >
class Gecode::Search::Seq::Dead< Tracer >
A dead engine (failed root).
Constructor & Destructor Documentation
◆ Dead()
template<class Tracer>
| Gecode::Search::Seq::Dead< Tracer >::Dead | ( | const Options & | o, |
| const Statistics & | stat0 ) |
◆ ~Dead()
template<class Tracer>
|
virtual |
Member Function Documentation
◆ next()
template<class Tracer>
|
virtual |
Return next solution (nullptr, if none exists or search has been stopped).
Implements Gecode::Search::Engine.
◆ statistics()
template<class Tracer>
|
virtual |
◆ stopped()
template<class Tracer>
|
virtual |
Check whether engine has been stopped.
Implements Gecode::Search::Engine.
Member Data Documentation
◆ tracer
template<class Tracer>
|
protected |
◆ stat
template<class Tracer>
|
protected |
The documentation for this class was generated from the following file:
- gecode/search/seq/dead.cpp
