Gecode::Search::BabEngine Class Reference
#include <search.hh>
Inherits Gecode::Search::FullStatistics.
Inherited by Gecode::Search::BabCopyEngine, and Gecode::Search::BabReCoEngine.
Detailed Description
Interface for depth-first branch-and-bound search engines.
Definition at line 323 of file search.hh.
Public Member Functions | |
BabEngine (size_t sz) | |
Constructor. | |
virtual GECODE_SEARCH_EXPORT | ~BabEngine (void) |
Destructor. | |
virtual bool | explore (Space *&s1, Space *&s2)=0 |
Search for next better solution | |
virtual size_t | stacksize (void) const =0 |
Return stack size used by engine. | |
Static Public Member Functions | |
static void * | operator new (size_t) |
Allocate space from heap. | |
static void | operator delete (void *, size_t) |
Release space to heap. |
Constructor & Destructor Documentation
|
Constructor.
|
|
Destructor.
|
Member Function Documentation
|
Search for next better solution
If
If Implemented in Gecode::Search::BabCopyEngine, and Gecode::Search::BabReCoEngine. |
|
Return stack size used by engine.
Implemented in Gecode::Search::BabCopyEngine, and Gecode::Search::BabReCoEngine. |
|
Allocate space from heap.
|
|
Release space to heap.
|
The documentation for this class was generated from the following files: