Interface ConcessionStrategy

All Known Implementing Classes:
ExponentialConcession, LinearConcession, TimeDependentConcession, TitForTatConcession
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ConcessionStrategy
Strategy for computing the next offer value during negotiation.

Implementations decide how much to concede each round based on the current round, reservation value, and negotiation history.

Since:
0.0.2
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    nextOffer(int round, int maxRounds, double reservationValue, double currentValue, List<NegotiationOffer> history)
    Computes the next offer value.
  • Method Details

    • nextOffer

      double nextOffer(int round, int maxRounds, double reservationValue, double currentValue, List<NegotiationOffer> history)
      Computes the next offer value.
      Parameters:
      round - current round (1-based)
      maxRounds - maximum rounds
      reservationValue - minimum acceptable value
      currentValue - current offer value
      history - previous offers in this negotiation
      Returns:
      the next offer value