Gecode::StdSearchTracer Class Reference
#include <search.hh>
Public Member Functions | |
StdSearchTracer (std::ostream &os=std::cerr) | |
Initialize with output stream os. | |
virtual void | init (void) |
The search engine initializes. | |
virtual void | round (unsigned int eid) |
The engine with id eid goes to a next round (restart or next iteration in LDS). | |
virtual void | skip (const EdgeInfo &ei) |
The engine skips an edge. | |
virtual void | node (const EdgeInfo &ei, const NodeInfo &ni) |
The engine creates a new node with information ei and ni. | |
virtual void | done (void) |
All workers are done. | |
virtual | ~StdSearchTracer (void) |
Delete. | |
Static Public Attributes | |
static StdSearchTracer | def |
Default tracer (printing to std::cerr). | |
Protected Attributes | |
std::ostream & | os |
Output stream to use. | |
Static Protected Attributes | |
static const char * | t2s [EngineType::AOE+1] |
Map engine type to string. |
Detailed Description
Definition at line 371 of file search.hh.
Constructor & Destructor Documentation
Gecode::StdSearchTracer::StdSearchTracer | ( | std::ostream & | os = std::cerr |
) |
Initialize with output stream os.
Definition at line 45 of file tracer.cpp.
Gecode::StdSearchTracer::~StdSearchTracer | ( | void | ) | [virtual] |
Delete.
Definition at line 117 of file tracer.cpp.
Member Function Documentation
void Gecode::StdSearchTracer::init | ( | void | ) | [virtual] |
The search engine initializes.
Implements Gecode::SearchTracer.
Definition at line 49 of file tracer.cpp.
void Gecode::StdSearchTracer::round | ( | unsigned int | eid | ) | [virtual] |
The engine with id eid goes to a next round (restart or next iteration in LDS).
Implements Gecode::SearchTracer.
Definition at line 70 of file tracer.cpp.
void Gecode::StdSearchTracer::skip | ( | const EdgeInfo & | ei | ) | [virtual] |
The engine skips an edge.
Implements Gecode::SearchTracer.
Definition at line 75 of file tracer.cpp.
The engine creates a new node with information ei and ni.
Implements Gecode::SearchTracer.
Definition at line 82 of file tracer.cpp.
void Gecode::StdSearchTracer::done | ( | void | ) | [virtual] |
Member Data Documentation
std::ostream& Gecode::StdSearchTracer::os [protected] |
const char * Gecode::StdSearchTracer::t2s [static, protected] |
The documentation for this class was generated from the following files:
- gecode/search.hh
- gecode/search/tracer.cpp