38 namespace Gecode {
namespace Search {
42 dfs(Space* s,
const Options& o);
63 return build<T,DFS>(s,
opt);
73 : Search::Base<T>(Search::
dfs(s,o)) {}
Search engine implementation interface
DfsBuilder(const Options &opt)
The constructor.
#define GECODE_SEARCH_EXPORT
A class for building search engines.
Options opt
Stored and already expanded options.
Engine * dfs(Space *s, const Options &o)
Create depth-first engine.
virtual Engine * operator()(Space *s) const
The actual build function.
Search::Builder * SEB
Type for a search engine builder.
T * dfs(T *s, const Search::Options &o)
Invoke depth-first search engine for subclass T of space s with options o.
SEB dfs(const Search::Options &o)
Return a depth-first search engine builder.
Gecode toplevel namespace
Depth-first search engine.
DFS(T *s, const Search::Options &o=Search::Options::def)
Initialize search engine for space s with options o.