Skip to content

Discount Factor & Reservation Value

Taha Doğan Güneş edited this page Oct 24, 2017 · 2 revisions
  • Discount Factor (double in range [0,1]): Discount factor of the given preference profile.
  • Reservation Value (double in range [0,1]): The reservation value is the least favourable point at which one will accept a negotiated agreement.

To get the discount factor and reservation value of your preference profile (which is assigned by the negotiation settings):

/**
 * This is your negotiation party.
 */
public class Groupn extends AbstractNegotiationParty {

	private Bid lastReceivedBid = null;

	@Override
	public void init(NegotiationInfo info) {

		super.init(info);

		System.out.println("Discount Factor is " + info.getUtilitySpace().getDiscountFactor());
		System.out.println("Reservation Value is " + info.getUtilitySpace().getReservationValueUndiscounted());


	}
...
Clone this wiki locally