public class NonlinearUtilitySpace extends AbstractUtilitySpace
DISCOUNT_FACTOR, fileName, RESERVATION
Constructor and Description |
---|
NonlinearUtilitySpace()
Creates an empty nonlinear utility space.
|
NonlinearUtilitySpace(Domain domain) |
NonlinearUtilitySpace(Domain domain,
java.lang.String fileName) |
NonlinearUtilitySpace(NonlinearUtilitySpace us)
create a clone of another utility space
|
Modifier and Type | Method and Description |
---|---|
UtilitySpace |
copy() |
boolean |
equals(java.lang.Object obj)
Uses the original equals of
Object . |
double |
getUtility(Bid bid) |
java.lang.String |
isComplete()
Check if this utility space is complete and ready for negotiation.
|
java.lang.String |
toString() |
SimpleElement |
toXML()
Creates an xml representation (in the form of a SimpleElements) of the
utilityspace.
|
checkReadyForNegotiation, discount, getDiscountFactor, getDomain, getFileName, getMaxUtilityBid, getMinUtilityBid, getName, getReservationValue, getReservationValueUndiscounted, getReservationValueWithDiscount, getReservationValueWithDiscount, getUtilityWithDiscount, getUtilityWithDiscount, isDiscounted, setDiscount, setReservationValue, validateDiscount
public NonlinearUtilitySpace()
public NonlinearUtilitySpace(Domain domain)
public NonlinearUtilitySpace(Domain domain, java.lang.String fileName) throws java.lang.Exception
java.lang.Exception
public NonlinearUtilitySpace(NonlinearUtilitySpace us)
public SimpleElement toXML() throws java.io.IOException
UtilitySpace
null
when
there was an error.java.io.IOException
public double getUtility(Bid bid)
bid
- of which we are interested in its utility.UtilitySpace.discount(double, double)
.public boolean equals(java.lang.Object obj)
Object
.equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public UtilitySpace copy()
public java.lang.String isComplete()
UtilitySpace