jadex.bridge.nonfunctional.search.IRankingSearchTerminationDecider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-platform-bridge Show documentation
Show all versions of jadex-platform-bridge Show documentation
Jadex bridge is a base package for kernels and platforms, i.e., it is used by both and provides commonly used interfaces and classes for active components and their management.
package jadex.bridge.nonfunctional.search;
import java.util.Collection;
import jadex.commons.future.IFuture;
/**
* Decides when to start ranking results.
*/
public interface IRankingSearchTerminationDecider
{
/**
* Decides if the search should terminate and the ranking should start.
*
* @param currentresults The search results acquired
* @param ranker The ranker used to rank services.
*
* @return True, to terminate the search and start ranking.
*/
public IFuture isStartRanking(Collection currentresults, IServiceEvaluator evaluator);
}