jadex.bridge.nonfunctional.search.IServiceRanker 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.List;
import jadex.commons.Tuple2;
import jadex.commons.future.IFuture;
/**
* Interfaces for non-functional ranking mechanism for services.
*/
public interface IServiceRanker
{
/**
* Ranks services according to non-functional criteria.
*
* @param unrankedservices Unranked list of services.
* @return Ranked list of services.
*/
public IFuture> rank(List unrankedservices);
/**
* Ranks services according to non-functional criteria.
*
* @param unrankedservices Unranked list of services.
* @return Ranked list of services and scores.
*/
public IFuture>> rankWithScores(List unrankedservices);
}