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

Method finish

gecode/gist/treecanvas.cpp:1309–1324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1307 }
1308
1309 bool
1310 TreeCanvas::finish(void) {
1311 if (finishedFlag)
1312 return true;
1313 stopSearchFlag = true;
1314 finishedFlag = true;
1315 for (int i=0; i<doubleClickInspectors.size(); i++)
1316 doubleClickInspectors[i].first->finalize();
1317 for (int i=0; i<solutionInspectors.size(); i++)
1318 solutionInspectors[i].first->finalize();
1319 for (int i=0; i<moveInspectors.size(); i++)
1320 moveInspectors[i].first->finalize();
1321 for (int i=0; i<comparators.size(); i++)
1322 comparators[i].first->finalize();
1323 return !searcher.isRunning();
1324 }
1325
1326 void
1327 TreeCanvas::setCurrentNode(VisualNode* n, bool finished, bool update) {

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
finalizeMethod · 0.45

Tested by

no test coverage detected