public class MultipartyNegotiationOfferEvent extends NegotiationEvent
Constructor and Description |
---|
MultipartyNegotiationOfferEvent(java.lang.Object source,
Bid bid,
int round,
int turn,
double time,
java.util.Map<AgentID,java.lang.Double> partyUtilities,
java.util.Map<AgentID,java.lang.Double> agreementUtils) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<AgentID,java.lang.Double> |
getAgreementUtils() |
java.util.Map<AgentID,java.lang.Double> |
getPartyUtilities() |
int |
getRound() |
double |
getTimeline() |
int |
getTurn() |
java.lang.String |
toString() |
public MultipartyNegotiationOfferEvent(java.lang.Object source, Bid bid, int round, int turn, double time, java.util.Map<AgentID,java.lang.Double> partyUtilities, java.util.Map<AgentID,java.lang.Double> agreementUtils)
source
- the source = owner of the loggerbid
- the placed bid in the offerround
- the current round numberturn
- the turn within the roundtime
- the current run time in secondspartyUtilities
- the discounted utils of the partiesagreementUtils
- the utilities of the Bid
that the parties agreed on ,
or null if no agreement yet.public int getRound()
public int getTurn()
public double getTimeline()
public java.util.Map<AgentID,java.lang.Double> getPartyUtilities()
public java.util.Map<AgentID,java.lang.Double> getAgreementUtils()
public java.lang.String toString()
toString
in class java.util.EventObject