public interface StopCriterion
IncompatibleStopCriterionException
may be thrown.Modifier and Type | Method and Description |
---|---|
boolean |
searchShouldStop(Search<?> search)
Checks the stop condition for a given search.
|
boolean searchShouldStop(Search<?> search)
IncompatibleStopCriterionException
may be thrown.
Else, true
is returned if the stop condition is met for the given
search, so that it should be terminated.search
- search for which the stop criterion should be checkedtrue
if the stop condition is metIncompatibleStopCriterionException
- when the given search is not compatible with the stop criterionCopyright © 2016. All rights reserved.