Limited discrepancy search engine. More...
#include <search.hh>
Public Member Functions | |
LDS (T *s, const Search::Options &o=Search::Options::def) | |
Initialize engine for space s and options o. | |
![]() | |
virtual T * | 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 | ~Base (void) |
Destructor. | |
Static Public Attributes | |
static const bool | best = false |
Whether engine does best solution search. | |
Additional Inherited Members | |
![]() | |
static void * | operator new (size_t s) |
Memory management. | |
static void | operator delete (void *p) |
Free memory allocated from heap. | |
![]() | |
Base (Engine *e=NULL) | |
Constructor. | |
![]() | |
Engine * | e |
The actual search engine. | |
Limited discrepancy search engine.
|
inline |
|
static |