All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jadex.bridge.nonfunctional.search.IRankingSearchTerminationDecider Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 4.0.267
Show newest version
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);
}