Generated on Thu Apr 11 13:59:49 2019 for Gecode by doxygen 1.6.3

Gecode::CPProfilerSearchTracer Class Reference

Class to record search trace info for CPProfiler. More...

#include <search.hh>

List of all members.

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.

void Gecode::CPProfilerSearchTracer::node ( const EdgeInfo ei,
const NodeInfo ni 
) [virtual]

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]

All workers are done.

Implements Gecode::SearchTracer.

Definition at line 147 of file tracer.cpp.


The documentation for this class was generated from the following files: