Class ExponentialConcession
java.lang.Object
com.tnsai.coordination.negotiation.strategy.ExponentialConcession
- All Implemented Interfaces:
ConcessionStrategy
Exponential concession strategy - concedes slowly at first, then faster.
Uses an exponential decay curve to approach the reservation value, making small concessions early and larger ones near the deadline.
- Since:
- 0.0.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublenextOffer(int round, int maxRounds, double reservationValue, double currentValue, List<NegotiationOffer> history) Computes the next offer value.
-
Constructor Details
-
ExponentialConcession
public ExponentialConcession()
-
-
Method Details
-
nextOffer
public double nextOffer(int round, int maxRounds, double reservationValue, double currentValue, List<NegotiationOffer> history) Description copied from interface:ConcessionStrategyComputes the next offer value.- Specified by:
nextOfferin interfaceConcessionStrategy- Parameters:
round- current round (1-based)maxRounds- maximum roundsreservationValue- minimum acceptable valuecurrentValue- current offer valuehistory- previous offers in this negotiation- Returns:
- the next offer value
-