Base-class for search engines. More...
#include <search.hh>
Public Member Functions | |
virtual T * | 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 NoGoods & | nogoods (void) |
Return no-goods (the no-goods are empty) More... | |
virtual | ~EngineBase (void) |
Destructor. More... | |
Protected Member Functions | |
EngineBase (Engine *e=NULL) | |
Constructor. More... | |
Protected Attributes | |
Engine * | e |
The actual search engine. More... | |
Memory management | |
static void * | operator new (size_t s) |
Allocate memory from heap. More... | |
static void | operator delete (void *p) |
Free memory allocated from heap. More... | |
Base-class for search engines.
|
inlineprotected |
Constructor.
Definition at line 46 of file engine-base.hpp.
|
inlinevirtual |
Destructor.
Definition at line 70 of file engine-base.hpp.
|
inlinevirtual |
Return next solution (NULL, if none exists or search has been stopped)
Definition at line 50 of file engine-base.hpp.
|
inlinevirtual |
Return statistics.
Definition at line 55 of file engine-base.hpp.
|
inlinevirtual |
Check whether engine has been stopped.
Definition at line 60 of file engine-base.hpp.
|
inlinevirtual |
Return no-goods (the no-goods are empty)
Definition at line 65 of file engine-base.hpp.
|
inlinestatic |
Allocate memory from heap.
Definition at line 75 of file engine-base.hpp.
|
inlinestatic |
Free memory allocated from heap.
Definition at line 80 of file engine-base.hpp.
|
protected |