Gecode::Search::Seq::Probe< Tracer > Class Template Reference
Probe engine for LDS More...
#include <lds.hh>
Classes | |
class | Node |
Node in the search tree for LDS More... | |
Public Member Functions | |
Probe (const Options &opt) | |
Initialize. | |
void | init (Space *s) |
Initialize with space s. | |
void | reset (Space *s, unsigned int d) |
Reset with space s and discrepancy d. | |
Statistics | statistics (void) const |
Return statistics. | |
~Probe (void) | |
Destructor. | |
Space * | next (const Options &o) |
Search for next solution | |
bool | done (void) const |
Test whether probing is done. | |
Protected Types | |
typedef Tracer::ID | ID |
Node identity type. | |
Protected Attributes | |
Tracer | tracer |
Search tracer. | |
Support::DynamicStack< Node, Heap > | ds |
Stack storing current path in search tree | |
Space * | cur |
Current space. | |
unsigned int | d |
Current discrepancy. | |
bool | exhausted |
Whether entire search space has been exhausted. |
Detailed Description
template<class Tracer>
class Gecode::Search::Seq::Probe< Tracer >
Probe engine for LDS
Definition at line 45 of file lds.hh.
Member Typedef Documentation
template<class Tracer >
typedef Tracer::ID Gecode::Search::Seq::Probe< Tracer >::ID [protected] |
Constructor & Destructor Documentation
template<class Tracer >
Gecode::Search::Seq::Probe< Tracer >::Probe | ( | const Options & | opt | ) | [inline] |
template<class Tracer >
Gecode::Search::Seq::Probe< Tracer >::~Probe | ( | void | ) | [inline] |
Member Function Documentation
template<class Tracer >
void Gecode::Search::Seq::Probe< Tracer >::init | ( | Space * | s | ) | [inline] |
template<class Tracer >
void Gecode::Search::Seq::Probe< Tracer >::reset | ( | Space * | s, | |
unsigned int | d | |||
) | [inline] |
template<class Tracer >
Statistics Gecode::Search::Seq::Probe< Tracer >::statistics | ( | void | ) | const [inline] |
template<class Tracer >
Space * Gecode::Search::Seq::Probe< Tracer >::next | ( | const Options & | o | ) | [inline] |
template<class Tracer >
bool Gecode::Search::Seq::Probe< Tracer >::done | ( | void | ) | const [inline] |
Member Data Documentation
template<class Tracer >
Tracer Gecode::Search::Seq::Probe< Tracer >::tracer [protected] |
template<class Tracer >
Support::DynamicStack<Node,Heap> Gecode::Search::Seq::Probe< Tracer >::ds [protected] |
template<class Tracer >
Space* Gecode::Search::Seq::Probe< Tracer >::cur [protected] |
template<class Tracer >
unsigned int Gecode::Search::Seq::Probe< Tracer >::d [protected] |
template<class Tracer >
bool Gecode::Search::Seq::Probe< Tracer >::exhausted [protected] |
The documentation for this class was generated from the following files: