public class UtilityFunction
extends java.lang.Object
NonlinearUtilitySpace
. Needs more documentation.Constructor and Description |
---|
UtilityFunction() |
UtilityFunction(AGGREGATIONTYPE aggregationtype) |
UtilityFunction(AGGREGATIONTYPE aggregationtype,
double weight) |
Modifier and Type | Method and Description |
---|---|
void |
addConstraint(java.util.ArrayList<Constraint> newContraints) |
void |
addConstraint(Constraint newConstraint) |
void |
addUtilityFunction(UtilityFunction newUtilityFunction) |
AGGREGATIONTYPE |
getAggregationType() |
java.util.ArrayList<Constraint> |
getConstraints() |
double |
getUtility(Bid bid) |
java.util.ArrayList<UtilityFunction> |
getUtilityFunctions() |
double |
getWeight() |
void |
setAggregationType(AGGREGATIONTYPE aggreationType) |
void |
setConstraints(java.util.ArrayList<Constraint> constraints) |
void |
setUtilityFunctions(java.util.ArrayList<UtilityFunction> utilityFunctions) |
void |
setWeight(double weight) |
public UtilityFunction()
public UtilityFunction(AGGREGATIONTYPE aggregationtype)
public UtilityFunction(AGGREGATIONTYPE aggregationtype, double weight)
public double getWeight()
public void setWeight(double weight)
public java.util.ArrayList<Constraint> getConstraints()
public void setConstraints(java.util.ArrayList<Constraint> constraints)
public void addConstraint(Constraint newConstraint)
public void addConstraint(java.util.ArrayList<Constraint> newContraints)
public java.util.ArrayList<UtilityFunction> getUtilityFunctions()
public void setUtilityFunctions(java.util.ArrayList<UtilityFunction> utilityFunctions)
public void addUtilityFunction(UtilityFunction newUtilityFunction)
public AGGREGATIONTYPE getAggregationType()
public void setAggregationType(AGGREGATIONTYPE aggreationType)
public double getUtility(Bid bid)