Class LinearConcession

java.lang.Object
com.tnsai.coordination.negotiation.strategy.LinearConcession
All Implemented Interfaces:
ConcessionStrategy

public final class LinearConcession extends Object implements ConcessionStrategy
Linear concession strategy - concedes at a constant rate per round.

The offer decreases linearly from the current value toward the reservation value over the remaining rounds.

Since:
0.0.2
  • Constructor Details

    • LinearConcession

      public LinearConcession()
  • Method Details

    • nextOffer

      public double nextOffer(int round, int maxRounds, double reservationValue, double currentValue, List<NegotiationOffer> history)
      Description copied from interface: ConcessionStrategy
      Computes the next offer value.
      Specified by:
      nextOffer in interface ConcessionStrategy
      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