public class InclusiveHyperRectangle extends HyperRectangle
InclusiveHyperRectangle has a utility value when all of its bounds
are satisfied, and zero otherwise.weight| Constructor and Description |
|---|
InclusiveHyperRectangle() |
InclusiveHyperRectangle(boolean isAllOkay) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doesCover(Bid bid) |
java.util.ArrayList<Bound> |
getBoundList() |
double |
getUtility(Bid bid) |
double |
getUtilityValue() |
protected void |
setBoundList(java.util.ArrayList<Bound> boundlist) |
protected void |
setUtilityValue(double utilityValue) |
getWeight, setWeightpublic InclusiveHyperRectangle()
public InclusiveHyperRectangle(boolean isAllOkay)
public java.util.ArrayList<Bound> getBoundList()
getBoundList in class HyperRectangleprotected void setBoundList(java.util.ArrayList<Bound> boundlist)
setBoundList in class HyperRectanglepublic double getUtilityValue()
getUtilityValue in class HyperRectangleprotected void setUtilityValue(double utilityValue)
setUtilityValue in class HyperRectanglepublic double getUtility(Bid bid)
getUtility in class HyperRectanglepublic boolean doesCover(Bid bid) throws java.lang.Exception
java.lang.Exception