public class CountThresholdSearchTerminationDecider<S> extends Object implements IRankingSearchTerminationDecider<S>
| Constructor and Description |
|---|
CountThresholdSearchTerminationDecider(int threshold)
Creates the decider.
|
| Modifier and Type | Method and Description |
|---|---|
Future<Boolean> |
isStartRanking(Collection<S> currentresults,
IServiceEvaluator evaluator)
Decides if the search should start ranking.
|
public CountThresholdSearchTerminationDecider(int threshold)
threshold - The threshold of found services after which the ranking starts.public Future<Boolean> isStartRanking(Collection<S> currentresults, IServiceEvaluator evaluator)
isStartRanking in interface IRankingSearchTerminationDecider<S>currentresults - The search results acquiredCopyright © 2015. All Rights Reserved.