Annotation Interface Coordination.Negotiation

Enclosing class:
Coordination

@Documented @Retention(RUNTIME) @Target({}) public static @interface Coordination.Negotiation
Negotiation protocol configuration.

Configures how an agent negotiates with other agents, including the protocol type, round limits, and concession behavior.

Usage


 @Coordination(
     role = CoordinationRole.PEER,
     teams = {"sales"},
     negotiation = @Coordination.Negotiation(
         type = NegotiationType.BILATERAL,
         maxRounds = 5,
         reservationValue = 50.0,
         concessionStrategy = "exponential"
     )
 )
 public class BuyerRole extends Role { ... }
 
  • Element Details

    • type

      Negotiation protocol type.
      Returns:
      the negotiation type
      Default:
      NONE
    • maxRounds

      int maxRounds
      Maximum negotiation rounds.
      Returns:
      max rounds
      Default:
      10
    • timeout

      String timeout
      Timeout as ISO-8601 duration (e.g. "PT30S").
      Returns:
      timeout duration string
      Default:
      "PT30S"
    • reservationValue

      double reservationValue
      Minimum acceptable value (walk-away point).
      Returns:
      reservation value
      Default:
      0.0
    • initialOffer

      double initialOffer
      Starting offer value (-1 = auto).
      Returns:
      initial offer value
      Default:
      -1.0
    • concessionStrategy

      String concessionStrategy
      Concession strategy name.

      Built-in strategies: "linear", "exponential", "tit_for_tat", "time_dependent".

      Returns:
      concession strategy name
      Default:
      "linear"