Gecode::Search::Sequential::Path::Node Class Reference
Search tree node for recomputation
More...
#include <path.hh>
List of all members.
|
Public Member Functions |
| | Node (void) |
| | Default constructor.
|
| | Node (Space *s, Space *c) |
| | Node for space s with clone c (possibly NULL).
|
| Space * | space (void) const |
| | Return space for node.
|
| void | space (Space *s) |
| | Set space to s.
|
| const BranchingDesc * | desc (void) const |
| | Return branching description.
|
| unsigned int | alt (void) const |
| | Return number for alternatives.
|
| bool | rightmost (void) const |
| | Test whether current alternative is rightmost.
|
| void | next (void) |
| | Move to next alternative.
|
| void | dispose (void) |
| | Free memory for node.
|
Protected Attributes |
| Space * | _space |
| | Space corresponding to this node (might be NULL).
|
| unsigned int | _alt |
| | Current alternative.
|
| const BranchingDesc * | _desc |
| | Braching description.
|
Detailed Description
Search tree node for recomputation
Definition at line 61 of file path.hh.
Constructor & Destructor Documentation
| Gecode::Search::Sequential::Path::Node::Node |
( |
void |
|
) |
[inline] |
Default constructor.
Definition at line 127 of file path.hh.
| Gecode::Search::Sequential::Path::Node::Node |
( |
Space * |
s, |
|
|
Space * |
c | |
|
) |
| | [inline] |
Node for space s with clone c (possibly NULL).
Definition at line 130 of file path.hh.
Member Function Documentation
| Space * Gecode::Search::Sequential::Path::Node::space |
( |
void |
|
) |
const [inline] |
Return space for node.
Definition at line 134 of file path.hh.
| void Gecode::Search::Sequential::Path::Node::space |
( |
Space * |
s |
) |
[inline] |
| const BranchingDesc * Gecode::Search::Sequential::Path::Node::desc |
( |
void |
|
) |
const [inline] |
Return branching description.
Definition at line 156 of file path.hh.
| unsigned int Gecode::Search::Sequential::Path::Node::alt |
( |
void |
|
) |
const [inline] |
Return number for alternatives.
Definition at line 143 of file path.hh.
| bool Gecode::Search::Sequential::Path::Node::rightmost |
( |
void |
|
) |
const [inline] |
Test whether current alternative is rightmost.
Definition at line 147 of file path.hh.
| void Gecode::Search::Sequential::Path::Node::next |
( |
void |
|
) |
[inline] |
Move to next alternative.
Definition at line 151 of file path.hh.
| void Gecode::Search::Sequential::Path::Node::dispose |
( |
void |
|
) |
[inline] |
Free memory for node.
Definition at line 161 of file path.hh.
Member Data Documentation
Space corresponding to this node (might be NULL).
Definition at line 64 of file path.hh.
Current alternative.
Definition at line 66 of file path.hh.
Braching description.
Definition at line 68 of file path.hh.
The documentation for this class was generated from the following file: