Package jadex.bridge.service.search
Class SServiceProvider
- java.lang.Object
-
- jadex.bridge.service.search.SServiceProvider
-
public class SServiceProvider extends java.lang.Object
Static helper class for searching services. Has the same search and query methods like IRequiredServicesFeature, but requires an external access.
-
-
Constructor Summary
Constructors Constructor Description SServiceProvider()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <S> ITerminableIntermediateFuture<S>
rankServices(ITerminableIntermediateFuture<S> searchfut, IServiceRanker<S> ranker, IRankingSearchTerminationDecider<S> decider)
Rank the services of a search with a specific ranker.static <S> ITerminableIntermediateFuture<Tuple2<S,java.lang.Double>>
rankServicesWithScores(ITerminableIntermediateFuture<S> searchfut, IServiceRanker<S> ranker, IRankingSearchTerminationDecider<S> decider)
Rank the services of a search with a specific ranker and emit the scores.
-
-
-
Method Detail
-
rankServices
public static <S> ITerminableIntermediateFuture<S> rankServices(ITerminableIntermediateFuture<S> searchfut, IServiceRanker<S> ranker, IRankingSearchTerminationDecider<S> decider)
Rank the services of a search with a specific ranker.
-
rankServicesWithScores
public static <S> ITerminableIntermediateFuture<Tuple2<S,java.lang.Double>> rankServicesWithScores(ITerminableIntermediateFuture<S> searchfut, IServiceRanker<S> ranker, IRankingSearchTerminationDecider<S> decider)
Rank the services of a search with a specific ranker and emit the scores.
-
-