public class UtilitySpaceAdapter extends AdditiveUtilitySpace
fileName
Constructor and Description |
---|
UtilitySpaceAdapter(OpponentModel opponentModel,
Domain domain) |
Modifier and Type | Method and Description |
---|---|
double |
getUtility(Bid b) |
double |
getWeight(int i) |
addEvaluator, copy, equals, getEvaluation, getEvaluator, getEvaluators, getIssue, getNrOfEvaluators, isComplete, lock, normalizeChildren, normalizeWeights, setWeight, toString, toXML, unlock
checkReadyForNegotiation, discount, getDiscountFactor, getDomain, getFileName, getMaxUtilityBid, getMinUtilityBid, getReservationValue, getReservationValueUndiscounted, getReservationValueWithDiscount, getReservationValueWithDiscount, getUtilityWithDiscount, getUtilityWithDiscount, isDiscounted, setDiscount, setReservationValue, validateDiscount
public UtilitySpaceAdapter(OpponentModel opponentModel, Domain domain)
public double getUtility(Bid b)
getUtility
in interface UtilitySpace
getUtility
in class AdditiveUtilitySpace
b
- of which we are interested in its utility.UtilitySpace.discount(double, double)
.public double getWeight(int i)
getWeight
in class AdditiveUtilitySpace
i
- The Issue or Objective to get the weight from