Class MonotonicConcessionProtocol
java.lang.Object
com.tnsai.coordination.negotiation.monotonic.MonotonicConcessionProtocol
- All Implemented Interfaces:
NegotiationProtocol
Monotonic concession protocol - all parties concede toward agreement.
Each party makes monotonically decreasing offers each round. Agreement is reached when any two parties' offers cross (overlap). If no crossing occurs within the max rounds, the negotiation fails.
This protocol supports more than 2 parties. Each party maintains its own concession trajectory from its initial position toward its reservation value.
- Since:
- 0.0.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.tnsai.annotations.Coordination.NegotiationTypegetType()Returns the negotiation type this protocol handles.negotiate(List<com.tnsai.agents.Agent> parties, NegotiationConfig config) Executes the negotiation between the given parties.
-
Constructor Details
-
MonotonicConcessionProtocol
public MonotonicConcessionProtocol()
-
-
Method Details
-
negotiate
Description copied from interface:NegotiationProtocolExecutes the negotiation between the given parties.- Specified by:
negotiatein interfaceNegotiationProtocol- Parameters:
parties- the agents participating in negotiationconfig- negotiation configuration- Returns:
- the negotiation outcome
-
getType
public com.tnsai.annotations.Coordination.NegotiationType getType()Description copied from interface:NegotiationProtocolReturns the negotiation type this protocol handles.- Specified by:
getTypein interfaceNegotiationProtocol- Returns:
- the supported negotiation type
-