Node information.
More...
#include <search.hh>
|
| 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.
|
|
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)
|
Node information.
Definition at line 282 of file search.hh.
◆ NodeInfo()
Gecode::SearchTracer::NodeInfo::NodeInfo |
( |
NodeType | nt, |
|
|
unsigned int | wid, |
|
|
unsigned int | nid, |
|
|
const Space & | s, |
|
|
const Choice * | c = nullptr ) |
|
inline |
◆ type()
◆ wid()
unsigned int Gecode::SearchTracer::NodeInfo::wid |
( |
void | | ) |
const |
|
inline |
◆ nid()
unsigned int Gecode::SearchTracer::NodeInfo::nid |
( |
void | | ) |
const |
|
inline |
◆ space()
const Space & Gecode::SearchTracer::NodeInfo::space |
( |
void | | ) |
const |
|
inline |
Return corresponding space.
Definition at line 186 of file tracer.hpp.
◆ choice()
const Choice & Gecode::SearchTracer::NodeInfo::choice |
( |
void | | ) |
const |
|
inline |
Return corresponding choice.
Definition at line 191 of file tracer.hpp.
◆ _nt
NodeType Gecode::SearchTracer::NodeInfo::_nt |
|
protected |
◆ _wid
unsigned int Gecode::SearchTracer::NodeInfo::_wid |
|
protected |
◆ _nid
unsigned int Gecode::SearchTracer::NodeInfo::_nid |
|
protected |
◆ _s
const Space& Gecode::SearchTracer::NodeInfo::_s |
|
protected |
The corresponding space.
Definition at line 291 of file search.hh.
◆ _c
const Choice* Gecode::SearchTracer::NodeInfo::_c |
|
protected |
The corresponding choice (nullptr if type is not BRANCH)
Definition at line 293 of file search.hh.
The documentation for this class was generated from the following files: