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

Method navNextSol

gecode/gist/treecanvas.cpp:1005–1016  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1003 }
1004
1005 void
1006 TreeCanvas::navNextSol(bool back) {
1007 QMutexLocker locker(&mutex);
1008 NextSolCursor nsc(currentNode,back,*na);
1009 PreorderNodeVisitor<NextSolCursor> nsv(nsc);
1010 nsv.run();
1011 VisualNode* n = nsv.getCursor().node();
1012 if (n != root) {
1013 setCurrentNode(n);
1014 centerCurrentNode();
1015 }
1016 }
1017
1018 void
1019 TreeCanvas::navPrevSol(void) {

Callers

nothing calls this directly

Calls 2

runMethod · 0.45
nodeMethod · 0.45

Tested by

no test coverage detected