Class ServiceRankingDelegationResultListener2<S>
- java.lang.Object
-
- jadex.commons.future.IntermediateDelegationResultListener<S>
-
- jadex.bridge.nonfunctional.search.ServiceRankingDelegationResultListener<S>
-
- jadex.bridge.nonfunctional.search.ServiceRankingDelegationResultListener2<S>
-
- All Implemented Interfaces:
jadex.commons.future.IFutureCommandResultListener<java.util.Collection<S>>
,jadex.commons.future.IIntermediateResultListener<S>
,jadex.commons.future.IResultListener<java.util.Collection<S>>
,jadex.commons.future.IUndoneIntermediateResultListener<S>
,jadex.commons.future.IUndoneResultListener<java.util.Collection<S>>
public class ServiceRankingDelegationResultListener2<S> extends ServiceRankingDelegationResultListener<S>
Listener that ranks results.
-
-
Field Summary
-
Fields inherited from class jadex.bridge.nonfunctional.search.ServiceRankingDelegationResultListener
decider, finished, ranker, results
-
-
Constructor Summary
Constructors Constructor Description ServiceRankingDelegationResultListener2(jadex.commons.future.TerminableIntermediateDelegationFuture<jadex.commons.Tuple2<S,java.lang.Double>> future, jadex.commons.future.ITerminableIntermediateFuture<S> src, IServiceRanker<S> ranker, IRankingSearchTerminationDecider<S> decider)
Create a new ranker.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
notifyResults(java.util.List<jadex.commons.Tuple2<S,java.lang.Double>> results)
Notify the results,-
Methods inherited from class jadex.bridge.nonfunctional.search.ServiceRankingDelegationResultListener
customIntermediateResultAvailable, customResultAvailable, exceptionOccurred, finished, isFinished, isFinishing, notifyException, rankResults
-
-
-
-
Constructor Detail
-
ServiceRankingDelegationResultListener2
public ServiceRankingDelegationResultListener2(jadex.commons.future.TerminableIntermediateDelegationFuture<jadex.commons.Tuple2<S,java.lang.Double>> future, jadex.commons.future.ITerminableIntermediateFuture<S> src, IServiceRanker<S> ranker, IRankingSearchTerminationDecider<S> decider)
Create a new ranker.
-
-
Method Detail
-
notifyResults
protected void notifyResults(java.util.List<jadex.commons.Tuple2<S,java.lang.Double>> results)
Notify the results,- Overrides:
notifyResults
in classServiceRankingDelegationResultListener<S>
-
-