Gecode::Search::Sequential::LDS Class Reference
Limited discrepancy search engine implementation. More...
#include <lds.hh>
Public Member Functions | |
| LDS (Space *s, size_t sz, const Options &o) | |
| Initialize for space s (of size sz) with options o. | |
| virtual Space * | next (void) |
| Return next solution (NULL, if none exists or search has been stopped). | |
| virtual Statistics | statistics (void) const |
| Return statistics. | |
| virtual bool | stopped (void) const |
| Check whether engine has been stopped. | |
| virtual | ~LDS (void) |
| Destructor. | |
Protected Attributes | |
| Options | opt |
| Search options. | |
| Probe | e |
| The probe engine. | |
| Space * | root |
| Root node for problem. | |
| unsigned int | d |
| Current discrepancy. | |
| bool | no_solution |
| Solution found for current discrepancy. | |
Detailed Description
Limited discrepancy search engine implementation.Definition at line 99 of file lds.hh.
Constructor & Destructor Documentation
| Gecode::Search::Sequential::LDS::~LDS | ( | void | ) | [virtual] |
Member Function Documentation
| Space * Gecode::Search::Sequential::LDS::next | ( | void | ) | [virtual] |
Return next solution (NULL, if none exists or search has been stopped).
Implements Gecode::Search::Engine.
| Statistics Gecode::Search::Sequential::LDS::statistics | ( | void | ) | const [virtual] |
| bool Gecode::Search::Sequential::LDS::stopped | ( | void | ) | const [virtual] |
Member Data Documentation
Options Gecode::Search::Sequential::LDS::opt [protected] |
Probe Gecode::Search::Sequential::LDS::e [protected] |
Space* Gecode::Search::Sequential::LDS::root [protected] |
unsigned int Gecode::Search::Sequential::LDS::d [protected] |
bool Gecode::Search::Sequential::LDS::no_solution [protected] |
The documentation for this class was generated from the following files:
- gecode/search/sequential/lds.hh (Revision: 9047)
- gecode/search/sequential/lds.cpp (Revision: 9047)
