Interface NegotiationProtocol
- All Known Implementing Classes:
AuctionAdapter,BilateralNegotiation,ContractNetAdapter,MonotonicConcessionProtocol
public interface NegotiationProtocol
Interface for negotiation protocol implementations.
Each protocol defines a specific negotiation mechanism (bilateral,
auction, contract net, etc.) and produces a NegotiationOutcome.
- Since:
- 0.0.2
-
Method Summary
Modifier and TypeMethodDescriptioncom.tnsai.annotations.Coordination.NegotiationTypegetType()Returns the negotiation type this protocol handles.negotiate(List<com.tnsai.agents.Agent> parties, NegotiationConfig config) Executes the negotiation between the given parties.
-
Method Details
-
negotiate
Executes the negotiation between the given parties.- Parameters:
parties- the agents participating in negotiationconfig- negotiation configuration- Returns:
- the negotiation outcome
-
getType
com.tnsai.annotations.Coordination.NegotiationType getType()Returns the negotiation type this protocol handles.- Returns:
- the supported negotiation type
-