public class Outcome
extends java.lang.Object
Constructor and Description |
---|
Outcome(Bid bid,
int round,
int turn,
java.util.List<? extends PartyWithUtility> parties,
boolean isAgreement,
AgentID agent,
double time)
Create new outcome.
|
Modifier and Type | Method and Description |
---|---|
AgentID |
getAgentID() |
Bid |
getBid() |
java.util.List<java.lang.Double> |
getDiscountedUtilities() |
java.util.List<? extends PartyWithUtility> |
getParticipants() |
int |
getRound() |
int |
getTurn() |
boolean |
isAgreement() |
public Outcome(Bid bid, int round, int turn, java.util.List<? extends PartyWithUtility> parties, boolean isAgreement, AgentID agent, double time)
bid
- the current bid or accepted bid (if party does an accept for a
bid).round
- turn
- parties
- isAgreement
- agent
- the agent that placed this bidtime
- the time at which this bid was placed.public int getRound()
public int getTurn()
public Bid getBid()
public java.util.List<? extends PartyWithUtility> getParticipants()
public java.util.List<java.lang.Double> getDiscountedUtilities()
public boolean isAgreement()
public AgentID getAgentID()