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