A class for building search engines. More...
#include <search.hh>
Public Member Functions | |
Builder (const Options &opt, bool best) | |
Initialize with options opt and best solution search support. More... | |
Options & | options (void) |
Provide access to options. More... | |
const Options & | options (void) const |
Provide access to options. More... | |
bool | best (void) const |
Whether engine is a best solution search engine. More... | |
virtual Engine * | operator() (Space *s) const =0 |
Build an engine according to stored options for s. More... | |
virtual | ~Builder (void) |
Destructor. More... | |
Protected Attributes | |
Options | opt |
Stored and already expanded options. More... | |
const bool | b |
Whether engine to be built is a best solution search engine. More... | |
Additional Inherited Members | |
![]() | |
static void * | operator new (size_t s) |
Memory management. More... | |
static void | operator delete (void *p) |
Free memory allocated from heap. More... | |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
Build an engine according to stored options for s.
Implemented in Gecode::Search::RbsBuilder< T, E >, Gecode::Search::BabBuilder< T >, Gecode::Search::DfsBuilder< T >, Gecode::Search::LdsBuilder< T >, and Gecode::Search::PbsBuilder< T, E >.
|
protected |
|
protected |