#include <search.hh>
|
| 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.
|
| SearchTracer (void) |
| Initialize.
|
unsigned int | workers (void) const |
| Return number of workers.
|
unsigned int | engines (void) const |
| Return number of engines.
|
const EngineInfo & | engine (unsigned int eid) const |
| Provide access to engine with id eid.
|
unsigned int | eid (unsigned int wid) const |
| Return the engine id of a worker with id wid.
|
virtual | ~SearchTracer (void) |
| Delete.
|
|
std::ostream & | os |
| Output stream to use.
|
Definition at line 371 of file search.hh.
◆ StdSearchTracer()
Gecode::StdSearchTracer::StdSearchTracer |
( |
std::ostream & | os = std::cerr | ) |
|
Initialize with output stream os.
Definition at line 45 of file tracer.cpp.
◆ ~StdSearchTracer()
Gecode::StdSearchTracer::~StdSearchTracer |
( |
void | | ) |
|
|
virtual |
◆ init()
void Gecode::StdSearchTracer::init |
( |
void | | ) |
|
|
virtual |
◆ round()
void Gecode::StdSearchTracer::round |
( |
unsigned int | eid | ) |
|
|
virtual |
◆ skip()
void Gecode::StdSearchTracer::skip |
( |
const EdgeInfo & | ei | ) |
|
|
virtual |
◆ node()
◆ done()
void Gecode::StdSearchTracer::done |
( |
void | | ) |
|
|
virtual |
◆ os
std::ostream& Gecode::StdSearchTracer::os |
|
protected |
Output stream to use.
Definition at line 374 of file search.hh.
◆ t2s
const char * Gecode::StdSearchTracer::t2s |
|
staticprotected |
Initial value:= {
"DFS", "BAB", "LDS",
"RBS", "PBS",
"AOE"
}
Map engine type to string.
Definition at line 376 of file search.hh.
◆ def
Default tracer (printing to std::cerr)
Definition at line 393 of file search.hh.
The documentation for this class was generated from the following files: