public class BidPointTime extends BidPoint
Constructor and Description |
---|
BidPointTime(Bid bid,
java.lang.Double utilityA,
java.lang.Double utilityB,
double time)
Create a BidPointTime object, which is a tuple of a specific
bid, the utility of this bid for both agents, and the time at
which the bid was offered.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
double |
getTime()
Returns the time at which the bid was offered.
|
int |
hashCode() |
void |
setTime(double time)
Sets the time at which the bid is offered.
|
java.lang.String |
toString() |
getBid, getDistance, getSocialWelfare, getUtility, getUtilityA, getUtilityB, isStrictlyDominatedBy
public BidPointTime(Bid bid, java.lang.Double utilityA, java.lang.Double utilityB, double time)
bid
- of which the utilities are recorded.utilityA
- utility of the agent for agent A.utilityB
- utility of the agent for agent B.time
- at which the bid was offered.public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object obj)
public double getTime()
public void setTime(double time)
time
- of offering.