public class UtilitySpaceTools
extends java.lang.Object
UtilitySpace
. Does not extend it, so that receivers of an
abstract UtilitySpace
can connect it with these tools too.
This is a class, not a set of static functions, to allow caching of results (not yet used).
Constructor and Description |
---|
UtilitySpaceTools(UtilitySpace space) |
Modifier and Type | Method and Description |
---|---|
Bid |
getMaxUtilityBid()
Returns the maximum bid in the utility space.
|
Bid |
getMinUtilityBid()
Returns the worst bid in the utility space.
|
public UtilitySpaceTools(UtilitySpace space)
public final Bid getMaxUtilityBid() throws java.lang.Exception
java.lang.Exception
- if there is no bid at all in this util space.public Bid getMinUtilityBid() throws java.lang.Exception
java.lang.Exception
- if there is no bid at all in the util space