Test whether search must be stopped
| 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 |