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 Type
    Method
    Description
    com.tnsai.annotations.Coordination.NegotiationType
    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

      NegotiationOutcome negotiate(List<com.tnsai.agents.Agent> parties, NegotiationConfig config)
      Executes the negotiation between the given parties.
      Parameters:
      parties - the agents participating in negotiation
      config - 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