Class ServiceRankingDelegationResultListener2<S>
- java.lang.Object
-
- jadex.commons.future.IntermediateDelegationResultListener<E>
-
- jadex.commons.future.TerminableIntermediateDelegationResultListener<S>
-
- jadex.bridge.nonfunctional.search.ServiceRankingDelegationResultListener<S>
-
- jadex.bridge.nonfunctional.search.ServiceRankingDelegationResultListener2<S>
-
- All Implemented Interfaces:
IFunctionalExceptionListener
,IFunctionalIntermediateFinishedListener<S>
,IFunctionalIntermediateResultCountListener
,IFunctionalIntermediateResultListener<S>
,IFunctionalResultListener<java.util.Collection<S>>
,IFutureCommandResultListener<java.util.Collection<S>>
,IIntermediateResultListener<S>
,IResultListener<java.util.Collection<S>>
,IUndoneIntermediateResultListener<S>
,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
-
Fields inherited from class jadex.commons.future.IntermediateDelegationResultListener
delegate, future, undone
-
-
Constructor Summary
Constructors Constructor Description ServiceRankingDelegationResultListener2(TerminableIntermediateDelegationFuture<Tuple2<S,java.lang.Double>> 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<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
-
Methods inherited from class jadex.commons.future.IntermediateDelegationResultListener
commandAvailable, exceptionOccurredIfUndone, finishedIfUndone, handleException, intermediateResultAvailable, intermediateResultAvailableIfUndone, maxResultCountAvailable, resultAvailable, resultAvailableIfUndone
-
-
-
-
Constructor Detail
-
ServiceRankingDelegationResultListener2
public ServiceRankingDelegationResultListener2(TerminableIntermediateDelegationFuture<Tuple2<S,java.lang.Double>> future, ITerminableIntermediateFuture<S> src, IServiceRanker<S> ranker, IRankingSearchTerminationDecider<S> decider)
Create a new ranker.
-
-
Method Detail
-
notifyResults
protected void notifyResults(java.util.List<Tuple2<S,java.lang.Double>> results)
Notify the results,- Overrides:
notifyResults
in classServiceRankingDelegationResultListener<S>
-
-