Gecode::SearchTracer::NodeInfo Class Reference
Node information. More...
#include <search.hh>
Public Member Functions | |
NodeInfo (NodeType nt, unsigned int wid, unsigned int nid, const Space &s, const Choice *c=nullptr) | |
Initialize node info. | |
NodeType | type (void) const |
Return node type. | |
unsigned int | wid (void) const |
Return worker id. | |
unsigned int | nid (void) const |
Return node id. | |
const Space & | space (void) const |
Return corresponding space. | |
const Choice & | choice (void) const |
Return corresponding choice. | |
Protected Attributes | |
NodeType | _nt |
The node type. | |
unsigned int | _wid |
The worker id. | |
unsigned int | _nid |
The node id. | |
const Space & | _s |
The corresponding space. | |
const Choice * | _c |
The corresponding choice (nullptr if type is not BRANCH). |
Detailed Description
Node information.
Definition at line 282 of file search.hh.
Constructor & Destructor Documentation
Gecode::SearchTracer::NodeInfo::NodeInfo | ( | NodeType | nt, | |
unsigned int | wid, | |||
unsigned int | nid, | |||
const Space & | s, | |||
const Choice * | c = nullptr | |||
) | [inline] |
Initialize node info.
Definition at line 165 of file tracer.hpp.
Member Function Documentation
SearchTracer::NodeType Gecode::SearchTracer::NodeInfo::type | ( | void | ) | const [inline] |
Return node type.
Definition at line 171 of file tracer.hpp.
unsigned int Gecode::SearchTracer::NodeInfo::wid | ( | void | ) | const [inline] |
Return worker id.
Definition at line 176 of file tracer.hpp.
unsigned int Gecode::SearchTracer::NodeInfo::nid | ( | void | ) | const [inline] |
Return node id.
Definition at line 181 of file tracer.hpp.
const Space & Gecode::SearchTracer::NodeInfo::space | ( | void | ) | const [inline] |
Return corresponding space.
Definition at line 186 of file tracer.hpp.
const Choice & Gecode::SearchTracer::NodeInfo::choice | ( | void | ) | const [inline] |
Return corresponding choice.
Definition at line 191 of file tracer.hpp.
Member Data Documentation
NodeType Gecode::SearchTracer::NodeInfo::_nt [protected] |
unsigned int Gecode::SearchTracer::NodeInfo::_wid [protected] |
unsigned int Gecode::SearchTracer::NodeInfo::_nid [protected] |
const Space& Gecode::SearchTracer::NodeInfo::_s [protected] |
const Choice* Gecode::SearchTracer::NodeInfo::_c [protected] |
The documentation for this class was generated from the following files:
- gecode/search.hh
- gecode/search/tracer.hpp