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

Method stop

gecode/driver/script.hpp:79–86  ·  view source on GitHub ↗

Test whether search must be stopped

Source from the content-addressed store, hash-verified

77 };
78 /// Test whether search must be stopped
79 virtual bool stop(const Search::Statistics& s, const Search::Options& o) {
80 return
81 sigint ||
82 ((ns != nullptr) && ns->stop(s,o)) ||
83 ((fs != nullptr) && fs->stop(s,o)) ||
84 ((ts != nullptr) && ts->stop(s,o)) ||
85 ((rs != nullptr) && rs->stop(s,o));
86 }
87 /// Report reason why search has been stopped
88 int reason(const Search::Statistics& s, const Search::Options& o) {
89 return

Callers 3

stopFunction · 0.45
reasonMethod · 0.45
runMetaMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected