34namespace Gecode {
namespace Search {
54 : Builder(opt,
DFS<T>::best) {}
59 return build<T,DFS>(s,opt);
69 : Search::Base<T>(Search::dfsengine(s,o)) {}
Depth-first search engine.
DFS(T *s, const Search::Options &o=Search::Options::def)
Initialize search engine for space s with options o.
virtual Engine * operator()(Space *s) const
The actual build function.
DfsBuilder(const Options &opt)
The constructor.
Search engine implementation interface
Engine * dfsengine(Space *s, const Options &o)
Create depth-first engine.
Gecode toplevel namespace
Search::Builder * SEB
Type for a search engine builder.
T * dfs(T *s, const Search::Options &o=Search::Options::def)
Invoke depth-first search engine for subclass T of space s with options o.
#define GECODE_SEARCH_EXPORT