Gecode::BAB< T > Class Template Reference
[Search engines]
#include <search.hh>
Inherits Gecode::Search::BAB.
Detailed Description
template<class T>
class Gecode::BAB< T >
Depth-first branch-and-bound search engine.
Additionally, s must implement a member function
void constrain(T* t)
c->constrain(t)
where t is the so-far best solution.
Definition at line 677 of file search.hh.
Public Member Functions | |
BAB (T *s, const Search::Options &o=Search::Options::def) | |
Initialize engine for space s and options o. | |
T * | next (void) |
Return next better solution (NULL, if none exists or search has been stopped). |
Constructor & Destructor Documentation
template<class T>
Gecode::BAB< T >::BAB | ( | T * | s, | |
const Search::Options & | o = Search::Options::def | |||
) | [inline] |
Member Function Documentation
template<class T>
T * Gecode::BAB< T >::next | ( | void | ) | [inline] |
The documentation for this class was generated from the following files:
- gecode/search.hh (Revision: 7310)
- gecode/search/bab.icc (Revision: 6273)