Gecode::Search::ReCoNode Class Reference
#include <search.hh>
List of all members.
Detailed Description
Search tree node for recomputation
Definition at line 284 of file search.hh.
|
Public Member Functions |
| ReCoNode (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.
|
Constructor & Destructor Documentation
Gecode::Search::ReCoNode::ReCoNode |
( |
Space * |
s, |
|
|
Space * |
c | |
|
) |
| | [inline] |
Node for space s with clone c (possibly NULL).
Definition at line 46 of file reco-stack.icc.
Member Function Documentation
Space * Gecode::Search::ReCoNode::space |
( |
void |
|
) |
const [inline] |
void Gecode::Search::ReCoNode::space |
( |
Space * |
s |
) |
[inline] |
const BranchingDesc * Gecode::Search::ReCoNode::desc |
( |
void |
|
) |
const [inline] |
unsigned int Gecode::Search::ReCoNode::alt |
( |
void |
|
) |
const [inline] |
bool Gecode::Search::ReCoNode::rightmost |
( |
void |
|
) |
const [inline] |
void Gecode::Search::ReCoNode::next |
( |
void |
|
) |
[inline] |
void Gecode::Search::ReCoNode::dispose |
( |
void |
|
) |
[inline] |
Member Data Documentation
Space corresponding to this node (might be NULL).
Definition at line 287 of file search.hh.
Current alternative.
Definition at line 289 of file search.hh.
Braching description.
Definition at line 291 of file search.hh.
The documentation for this class was generated from the following files: