Gecode::Search::BAB Class Reference
#include <search.hh>
Inherited by Gecode::BAB< T >.
Detailed Description
Depth-first branch-and-bound search engine.This class implements depth-first branch-and-bound exploration for spaces. In order to use it on subclasses of Space, additional functionality providing the necessary typecasts is available in Gecode::BAB:
Definition at line 643 of file search.hh.
Public Member Functions | |
BAB (Space *s, unsigned int c_d, unsigned int a_d, Stop *st, size_t sz) | |
Initialize engine. | |
bool | stopped (void) const |
Check whether engine has been stopped. | |
Statistics | statistics (void) const |
Return statistics. | |
Protected Attributes | |
BabEngine | e |
Engine used for exploration. |
Constructor & Destructor Documentation
Member Function Documentation
bool Gecode::Search::BAB::stopped | ( | void | ) | const |
Statistics Gecode::Search::BAB::statistics | ( | void | ) | const |
Member Data Documentation
BabEngine Gecode::Search::BAB::e [protected] |
The documentation for this class was generated from the following files:
- gecode/search.hh (Revision: 7310)
- gecode/search/bab.cc (Revision: 5916)