Uses of Record Class
com.tnsai.coordination.negotiation.NegotiationOffer
Packages that use NegotiationOffer
-
Uses of NegotiationOffer in com.tnsai.coordination.negotiation
Methods in com.tnsai.coordination.negotiation that return NegotiationOfferModifier and TypeMethodDescriptionNegotiationOutcome.acceptedOffer()Returns the value of theacceptedOfferrecord component.static NegotiationOfferCreates an offer with auto-generated ID and timestamp.static NegotiationOfferCreates an offer with terms.Methods in com.tnsai.coordination.negotiation that return types with arguments of type NegotiationOfferModifier and TypeMethodDescriptionNegotiationOutcome.allOffers()Returns the value of theallOffersrecord component.Methods in com.tnsai.coordination.negotiation with parameters of type NegotiationOfferModifier and TypeMethodDescriptiondefault voidNegotiationListener.onCounterOffer(NegotiationOffer offer) Called when a counter-offer is made.default voidNegotiationListener.onOfferMade(NegotiationOffer offer) Called when an offer is made by a party.default voidNegotiationListener.onOfferReceived(NegotiationOffer offer) Called when an offer is received by a party.static NegotiationOutcomeNegotiationOutcome.success(NegotiationOffer accepted, List<NegotiationOffer> allOffers, int rounds, long durationMs) Creates a successful outcome.Method parameters in com.tnsai.coordination.negotiation with type arguments of type NegotiationOfferModifier and TypeMethodDescriptionstatic NegotiationOutcomeNegotiationOutcome.failure(String reason, List<NegotiationOffer> allOffers, int rounds, long durationMs, NegotiationState state) Creates a failed outcome.static NegotiationOutcomeNegotiationOutcome.success(NegotiationOffer accepted, List<NegotiationOffer> allOffers, int rounds, long durationMs) Creates a successful outcome.Constructors in com.tnsai.coordination.negotiation with parameters of type NegotiationOfferModifierConstructorDescriptionNegotiationOutcome(boolean agreed, NegotiationOffer acceptedOffer, List<NegotiationOffer> allOffers, int roundsUsed, long durationMs, NegotiationState finalState, String failureReason) Creates an instance of aNegotiationOutcomerecord class.Constructor parameters in com.tnsai.coordination.negotiation with type arguments of type NegotiationOfferModifierConstructorDescriptionNegotiationOutcome(boolean agreed, NegotiationOffer acceptedOffer, List<NegotiationOffer> allOffers, int roundsUsed, long durationMs, NegotiationState finalState, String failureReason) Creates an instance of aNegotiationOutcomerecord class. -
Uses of NegotiationOffer in com.tnsai.coordination.negotiation.strategy
Method parameters in com.tnsai.coordination.negotiation.strategy with type arguments of type NegotiationOfferModifier and TypeMethodDescriptiondoubleConcessionStrategy.nextOffer(int round, int maxRounds, double reservationValue, double currentValue, List<NegotiationOffer> history) Computes the next offer value.doubleExponentialConcession.nextOffer(int round, int maxRounds, double reservationValue, double currentValue, List<NegotiationOffer> history) doubleLinearConcession.nextOffer(int round, int maxRounds, double reservationValue, double currentValue, List<NegotiationOffer> history) doubleTimeDependentConcession.nextOffer(int round, int maxRounds, double reservationValue, double currentValue, List<NegotiationOffer> history) doubleTitForTatConcession.nextOffer(int round, int maxRounds, double reservationValue, double currentValue, List<NegotiationOffer> history)