jadex.bdi.planlib.protocols
Interface IProposalEvaluator

All Known Implementing Classes:
ICNPHandler, ProposalEvaluator

public interface IProposalEvaluator

Interface used by default plans of the protocols capability for evaluating proposals, eg in iterated contract-net.


Method Summary
 ParticipantProposal[] evaluateProposals(java.lang.Object cfp, java.lang.Object cfp_info, NegotiationRecord[] history, ParticipantProposal[] proposals)
          Evaluate the given proposals and determine winning proposals.
 

Method Detail

evaluateProposals

ParticipantProposal[] evaluateProposals(java.lang.Object cfp,
                                        java.lang.Object cfp_info,
                                        NegotiationRecord[] history,
                                        ParticipantProposal[] proposals)
Evaluate the given proposals and determine winning proposals.

Parameters:
cfp - The original call-for-proposal object.
cfp_info - Local meta information associated to the interaction.
history - The history of negotiation rounds.
proposals - The received proposals.
Returns:
The acceptable proposals, sorted by preference (best proposal first).


Copyright © 2010. All Rights Reserved.