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

Method getPathAlternative

gecode/gist/visualnode.cpp:143–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 }
142
143 int
144 VisualNode::getPathAlternative(const NodeAllocator& na) {
145 for (int i=getNumberOfChildren(); i--;) {
146 if (getChild(na,i)->isOnPath())
147 return i;
148 }
149 return -1;
150 }
151
152 void
153 VisualNode::toggleHidden(const NodeAllocator& na) {

Callers 2

inspectPathMethod · 0.80
navDownMethod · 0.80

Calls 1

isOnPathMethod · 0.80

Tested by

no test coverage detected