Interface IRankingSearchTerminationDecider<S>
-
- All Known Implementing Classes:
CountThresholdSearchTerminationDecider
public interface IRankingSearchTerminationDecider<S>
Decides when to start ranking results.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IFuture<java.lang.Boolean>
isStartRanking(java.util.Collection<S> currentresults, IServiceEvaluator evaluator)
Decides if the search should terminate and the ranking should start.
-
-
-
Method Detail
-
isStartRanking
IFuture<java.lang.Boolean> isStartRanking(java.util.Collection<S> currentresults, IServiceEvaluator evaluator)
Decides if the search should terminate and the ranking should start.- Parameters:
currentresults
- The search results acquiredranker
- The ranker used to rank services.- Returns:
- True, to terminate the search and start ranking.
-
-