Test whether search must be stopped
| 585 | ts(new Search::TimeStop(time)) {} |
| 586 | /// Test whether search must be stopped |
| 587 | virtual bool stop(const Search::Statistics& s, const Search::Options& o) { |
| 588 | return fs->stop(s,o) || ts->stop(s,o); |
| 589 | } |
| 590 | /// Whether the stop was due to failures |
| 591 | bool fail(const Search::Statistics& s, const Search::Options& o) const { |
| 592 | return fs->stop(s,o); |