
A cursor that labels branches. More...
#include <nodecursor.hh>
Public Member Functions | |
| BranchLabelCursor (VisualNode *theNode, BestNode *curBest, int c_d, int a_d, bool clear, VisualNode::NodeAllocator &na) | |
| Constructor. More... | |
Public Member Functions inherited from Gecode::Gist::NodeCursor< VisualNode > | |
| VisualNode * | node (void) |
| Return current node. More... | |
| NodeCursor (VisualNode *theNode, const typename VisualNode::NodeAllocator &na) | |
| Construct cursor, initially set to theNode. More... | |
| unsigned int | alternative (void) |
| Return current alternative. More... | |
| void | alternative (unsigned int a) |
| Set current alternative. More... | |
| bool | mayMoveUpwards (void) |
| Test if the cursor may move to the parent node. More... | |
| void | moveUpwards (void) |
| Move cursor to the parent node. More... | |
| bool | mayMoveDownwards (void) |
| Test if cursor may move to the first child node. More... | |
| void | moveDownwards (void) |
| Move cursor to the first child node. More... | |
| bool | mayMoveSidewards (void) |
| Test if cursor may move to the first sibling. More... | |
| void | moveSidewards (void) |
| Move cursor to the first sibling. More... | |
Cursor interface | |
| void | processCurrentNode (void) |
Additional Inherited Members | |
Protected Member Functions inherited from Gecode::Gist::NodeCursor< VisualNode > | |
| void | node (VisualNode *n) |
| Set current node to n. More... | |
| VisualNode * | startNode (void) |
| Return start node. More... | |
Protected Attributes inherited from Gecode::Gist::NodeCursor< VisualNode > | |
| const VisualNode::NodeAllocator & | na |
| The node allocator. More... | |
A cursor that labels branches.
Definition at line 195 of file nodecursor.hh.
|
inline |
Constructor.
Definition at line 260 of file nodecursor.hpp.
|
inline |
Definition at line 267 of file nodecursor.hpp.