nodecursor.hpp
Go to the documentation of this file.
75 _alternative = 0;
BranchLabelCursor(VisualNode *theNode, BestNode *curBest, int c_d, int a_d, bool clear, VisualNode::NodeAllocator &na)
Constructor.
Definition nodecursor.hpp:256
void processCurrentNode(void)
Definition nodecursor.hpp:263
DisposeCursor(VisualNode *theNode, const VisualNode::NodeAllocator &na)
Constructor.
Definition nodecursor.hpp:287
HideFailedCursor(VisualNode *theNode, const VisualNode::NodeAllocator &na, bool onlyDirtyNodes)
Constructor.
Definition nodecursor.hpp:124
bool mayMoveDownwards(void)
Test if the cursor may move to the first child node.
Definition nodecursor.hpp:115
bool mayMoveUpwards(void)
Test if the cursor may move to the parent node.
Definition nodecursor.hpp:183
NextSolCursor(VisualNode *theNode, bool backwards, const VisualNode::NodeAllocator &na)
Constructor.
Definition nodecursor.hpp:170
bool mayMoveDownwards(void)
Test if cursor may move to the first child node.
Definition nodecursor.hpp:188
bool mayMoveSidewards(void)
Test if cursor may move to the first sibling.
Definition nodecursor.hpp:204
bool mayMoveUpwards(void)
Test if the cursor may move to the parent node.
Definition nodecursor.hpp:66
NodeCursor(Node *theNode, const typename Node::NodeAllocator &na)
Construct cursor, initially set to theNode.
Definition nodecursor.hpp:38
bool mayMoveSidewards(void)
Test if cursor may move to the first sibling.
Definition nodecursor.hpp:102
bool mayMoveDownwards(void)
Test if cursor may move to the first child node.
Definition nodecursor.hpp:89
NodeAllocatorBase< VisualNode > NodeAllocator
Definition node.hh:143
bool hasSolvedChildren(void)
Return whether the subtree of this node has any solved children.
Definition spacenode.hpp:149
void purge(const NodeAllocator &na)
Clear working space and copy (if present and this is not the root).
Definition spacenode.hpp:120
int getNoOfOpenChildren(const NodeAllocator &na)
Return number of open children.
Definition spacenode.cpp:369
StatCursor(VisualNode *theNode, const VisualNode::NodeAllocator &na)
Constructor.
Definition nodecursor.hpp:225
UnhideAllCursor(VisualNode *theNode, const VisualNode::NodeAllocator &na)
Constructor.
Definition nodecursor.hpp:142
UnstopAllCursor(VisualNode *theNode, const VisualNode::NodeAllocator &na)
Constructor.
Definition nodecursor.hpp:156
std::string getBranchLabel(NodeAllocator &na, VisualNode *p, const Choice *c, BestNode *curBest, int c_d, int a_d, int alt)
Return string that describes the branch.
Definition visualnode.cpp:284
void dirtyUp(const NodeAllocator &na)
Mark all nodes up the path to the parent as dirty.
Definition visualnode.cpp:102
void setChildrenLayoutDone(bool d)
Mark node whether the layout of the node's children has been completed.
Definition visualnode.hpp:168
The Gecode Interactive Search Tool.
Gecode toplevel namespace
