Gecode::LDS< T > Class Template Reference
[Search engines]
Limited discrepancy search engine. More...
#include <search.hh>
Public Member Functions | |
LDS (T *s, const Search::Options &o=Search::Options::def) | |
Initialize engine for space s and options o. | |
T * | next (void) |
Return next better solution (NULL, if none exists or search has been stopped). | |
Search::Statistics | statistics (void) const |
Return statistics. | |
bool | stopped (void) const |
Check whether engine has been stopped. | |
~LDS (void) | |
Destructor. |
Detailed Description
template<class T>
class Gecode::LDS< T >
Limited discrepancy search engine.
Definition at line 461 of file search.hh.
Constructor & Destructor Documentation
template<class T >
Gecode::LDS< T >::LDS | ( | T * | s, | |
const Search::Options & | o = Search::Options::def | |||
) | [inline] |
template<class T >
Gecode::LDS< T >::~LDS | ( | void | ) | [inline] |
Member Function Documentation
template<class T >
T * Gecode::LDS< T >::next | ( | void | ) | [inline] |
template<class T >
Search::Statistics Gecode::LDS< T >::statistics | ( | void | ) | const [inline] |
template<class T >
bool Gecode::LDS< T >::stopped | ( | void | ) | const [inline] |
The documentation for this class was generated from the following files:
- gecode/search.hh (Revision: 10017)
- gecode/search/lds.hpp (Revision: 9692)