Gecode::BAB Gecode::EngineBase search.hh class T T forceinline Gecode::BAB< T >::BAB (T *s, const Search::Options &o=Search::Options::def) BAB T * s const Search::Options & o Search::Options::def Initialize engine for space s and options o. T * forceinline T * Gecode::BAB< T >::next (void) next void Return next better solution (NULL, if none exists or search has been stopped) Search::Statistics forceinline Search::Statistics Gecode::BAB< T >::statistics (void) const statistics void Return statistics. bool forceinline bool Gecode::BAB< T >::stopped (void) const stopped void Check whether engine has been stopped. NoGoods & forceinline NoGoods & Gecode::BAB< T >::nogoods (void) nogoods void Return no-goods. Depth-first branch-and-bound search engine. Additionally, s must implement a member function virtualvoidconstrain(constT&t) Whenever exploration requires to add a constraint to the space c currently being explored, the engine executes c.constrain(t) where t is the so-far best solution. e Gecode::BABBAB Gecode::BABe Gecode::BABEngineBase Gecode::BABnext Gecode::BABnogoods Gecode::BABstatistics Gecode::BABstopped Gecode::BAB~EngineBase