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

Method inspectPath

gecode/gist/treecanvas.cpp:897–911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

895 }
896
897 void
898 TreeCanvas::inspectPath(void) {
899 QMutexLocker locker(&mutex);
900 setCurrentNode(root);
901 if (currentNode->isOnPath()) {
902 inspectCurrentNode();
903 int nextAlt = currentNode->getPathAlternative(*na);
904 while (nextAlt >= 0) {
905 setCurrentNode(currentNode->getChild(*na,nextAlt));
906 inspectCurrentNode();
907 nextAlt = currentNode->getPathAlternative(*na);
908 }
909 }
910 update();
911 }
912
913 void
914 TreeCanvas::startCompareNodes(void) {

Callers

nothing calls this directly

Calls 4

updateFunction · 0.85
isOnPathMethod · 0.80
getPathAlternativeMethod · 0.80
getChildMethod · 0.45

Tested by

no test coverage detected