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

Method unPathUp

gecode/gist/visualnode.cpp:135–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133 }
134
135 void VisualNode::unPathUp(const NodeAllocator& na) {
136 VisualNode* cur = this;
137 while (!cur->isRoot()) {
138 cur->setOnPath(false);
139 cur = cur->getParent(na);
140 }
141 }
142
143 int
144 VisualNode::getPathAlternative(const NodeAllocator& na) {

Callers 1

setPathMethod · 0.80

Calls 3

isRootMethod · 0.80
setOnPathMethod · 0.80
getParentMethod · 0.80

Tested by

no test coverage detected