Gecode::CPProfilerSearchTracer Class Reference
Class to record search trace info for CPProfiler. More...
#include <search.hh>
Classes | |
class | GetInfo |
Class to send solution information to CPProfiler. More... | |
Public Member Functions | |
CPProfilerSearchTracer (int eid, std::string name, unsigned int port=Search::Config::cpprofiler_port, const GetInfo *pgi=nullptr) | |
Initialize. | |
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 | ~CPProfilerSearchTracer (void) |
Delete. |
Detailed Description
Class to record search trace info for CPProfiler.
Definition at line 420 of file search.hh.
Constructor & Destructor Documentation
Gecode::CPProfilerSearchTracer::CPProfilerSearchTracer | ( | int | eid, | |
std::string | name, | |||
unsigned int | port = Search::Config::cpprofiler_port , |
|||
const GetInfo * | pgi = nullptr | |||
) |
Initialize.
Definition at line 53 of file tracer.cpp.
Gecode::CPProfilerSearchTracer::~CPProfilerSearchTracer | ( | void | ) | [virtual] |
Delete.
Definition at line 151 of file tracer.cpp.
Member Function Documentation
void Gecode::CPProfilerSearchTracer::init | ( | void | ) | [virtual] |
The search engine initializes.
Implements Gecode::SearchTracer.
Definition at line 61 of file tracer.cpp.
void Gecode::CPProfilerSearchTracer::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::CPProfilerSearchTracer::skip | ( | const EdgeInfo & | ei | ) | [virtual] |
The engine skips an edge.
Implements Gecode::SearchTracer.
Definition at line 76 of file tracer.cpp.
The engine creates a new node with information ei and ni.
Implements Gecode::SearchTracer.
Definition at line 98 of file tracer.cpp.
void Gecode::CPProfilerSearchTracer::done | ( | void | ) | [virtual] |
The documentation for this class was generated from the following files:
- gecode/search.hh
- gecode/search/cpprofiler/tracer.cpp