38 namespace Gecode {
namespace Search {
42 lds(Space* s,
const Options& o);
63 return build<T,LDS>(s,
opt);
74 : Search::Base<T>(Search::
lds(s,o)) {}
Search engine implementation interface
Limited discrepancy search engine.
#define GECODE_SEARCH_EXPORT
A class for building search engines.
Options opt
Stored and already expanded options.
virtual Engine * operator()(Space *s) const
The actual build function.
LdsBuilder(const Options &opt)
The constructor.
Search::Builder * SEB
Type for a search engine builder.
T * lds(T *s, const Search::Options &o)
Invoke limited-discrepancy search for s as root node and optionso.
LDS(T *s, const Search::Options &o=Search::Options::def)
Initialize engine for space s and options o.
Gecode toplevel namespace
Engine * lds(Space *s, const Options &o)
Create lds engine.