MCPcopy Create free account
hub / github.com/Gecode/gecode / processCurrentNode

Method processCurrentNode

gecode/gist/nodecursor.hpp:129–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127 : NodeCursor<VisualNode>(root,na), onlyDirty(onlyDirtyNodes) {}
128
129 forceinline void
130 HideFailedCursor::processCurrentNode(void) {
131 VisualNode* n = node();
132 if (n->getStatus() == BRANCH &&
133 !n->hasSolvedChildren() &&
134 n->getNoOfOpenChildren(na) == 0) {
135 n->setHidden(true);
136 n->setChildrenLayoutDone(false);
137 n->dirtyUp(na);
138 }
139 }
140
141 forceinline
142 UnhideAllCursor::UnhideAllCursor(VisualNode* root,

Callers 1

nextMethod · 0.45

Calls 15

getStatusMethod · 0.80
hasSolvedChildrenMethod · 0.80
getNoOfOpenChildrenMethod · 0.80
setHiddenMethod · 0.80
setChildrenLayoutDoneMethod · 0.80
dirtyUpMethod · 0.80
isHiddenMethod · 0.80
setStopMethod · 0.80
hasLabelMethod · 0.80
getParentMethod · 0.80
getBranchLabelMethod · 0.80
getChoiceMethod · 0.80

Tested by

no test coverage detected