
Meta-engine performing restart-based search. More...
#include <search.hh>
Public Member Functions | |
| RBS (T *s, const Search::Options &o) | |
| Initialize engine for space s and options o. More... | |
| T * | next (void) |
| Return next solution (NULL, if non exists or search has been stopped) More... | |
| Search::Statistics | statistics (void) const |
| Return statistics. More... | |
| bool | stopped (void) const |
| Check whether engine has been stopped. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Gecode::EngineBase | |
| ~EngineBase (void) | |
| Destructor. More... | |
| EngineBase (Search::Engine *e=NULL) | |
| Constructor. More... | |
Protected Attributes inherited from Gecode::EngineBase | |
| Search::Engine * | e |
| The actual search engine. More... | |
Meta-engine performing restart-based search.
The engine uses the Cutoff sequence supplied in the options o to periodically restart the search of engine E.
The class T can implement member functions
and
Whenever exploration restarts or a solution is found, the engine executes the functions on the master and slave space. For more details, consult "Modeling and Programming with Gecode".
|
inline |
|
inline |
|
inline |
|
inline |