Gecode::Search::LDS Class Reference
#include <search.hh>
Inherited by Gecode::LDS< T >.
Detailed Description
Limited discrepancy search engine.Definition at line 519 of file search.hh.
Public Member Functions | |
| LDS (Space *s, unsigned int d, Stop *st, size_t sz) | |
| Space * | next (void) |
| Return next solution (NULL, if none exists or search has been stopped). | |
| Statistics | statistics (void) const |
| Return statistics. | |
| bool | stopped (void) const |
| Check whether engine has been stopped. | |
| ~LDS (void) | |
| Destructor. | |
Protected Attributes | |
| Space * | root |
| Root node for problem. | |
| unsigned int | d_cur |
| Current discrepancy. | |
| unsigned int | d_max |
| Maximal discrepancy. | |
| bool | no_solution |
| Solution found for current discrepancy. | |
| ProbeEngine | e |
| The probe engine. | |
Constructor & Destructor Documentation
Member Function Documentation
| Space * Gecode::Search::LDS::next | ( | void | ) |
Return next solution (NULL, if none exists or search has been stopped).
Reimplemented in Gecode::LDS< T >.
| Statistics Gecode::Search::LDS::statistics | ( | void | ) | const |
| bool Gecode::Search::LDS::stopped | ( | void | ) | const |
Member Data Documentation
Space* Gecode::Search::LDS::root [protected] |
unsigned int Gecode::Search::LDS::d_cur [protected] |
unsigned int Gecode::Search::LDS::d_max [protected] |
bool Gecode::Search::LDS::no_solution [protected] |
ProbeEngine Gecode::Search::LDS::e [protected] |
The documentation for this class was generated from the following files:
- gecode/search.hh (Revision: 7310)
- gecode/search/lds.cc (Revision: 6072)
