public final class DefaultStandardInfo extends java.lang.Object implements StandardInfo
| Constructor and Description |
|---|
DefaultStandardInfo(java.util.Map<java.lang.String,java.lang.String> profiles,
java.lang.String startingAgent,
java.util.List<Tuple<java.lang.String,java.lang.Double>> utilities,
Deadline deadline,
Tuple<Bid,java.lang.Double> agreement) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,java.lang.String> |
getAgentProfiles() |
Tuple<Bid,java.lang.Double> |
getAgreement()
get the agreement.
|
Deadline |
getDeadline() |
java.lang.String |
getStartingAgent() |
java.util.List<Tuple<java.lang.String,java.lang.Double>> |
getUtilities() |
int |
hashCode() |
java.lang.String |
toString() |
public java.util.Map<java.lang.String,java.lang.String> getAgentProfiles()
getAgentProfiles in interface StandardInfopublic java.lang.String getStartingAgent()
getStartingAgent in interface StandardInfoStandardInfo.getUtilities()public java.util.List<Tuple<java.lang.String,java.lang.Double>> getUtilities()
getUtilities in interface StandardInfoActionWithBids that
were done, in that order (0 being the first action with a bid,
etc). Agent is the party that did the action. Utility is the
non-discounted utility of his offer. All utilities are in the
utility space of the agent receiving this info.public Deadline getDeadline()
getDeadline in interface StandardInfopublic Tuple<Bid,java.lang.Double> getAgreement()
StandardInfogetAgreement in interface StandardInfopublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object