public class IssueModel
extends java.lang.Object
Constructor and Description |
---|
IssueModel(Issue lIssue)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addValue(Value pValue)
Add a value to the list
|
double |
getAverage()
The mean of the values in the values list.
|
Value |
getBidValue(Bid pBid)
returns the value of a bid
|
static Value |
getBidValueByIssue(Bid pBid,
Issue pIssue)
returns the value of an issue in a bid
|
double |
getDeviation()
The standard deviation utility of the issues.
|
double |
getDiscreteUtility(Bid pBid)
The utility of if this issue is discrete.
|
double |
getDiscreteWeight()
Gets the weight of this value.
|
double |
getNumberValue(Value pValue)
The value of an issue in a double type
|
double |
getRealUtility(Bid pBid)
The utility of a bid in the real or integer case
|
double |
getRealWeight()
returns the real (or integer) weight
|
double |
getUtility(Bid pBid)
The utility of a bid, which can be real, integer or discrete
|
double |
getWeight()
Get's the importance of this issues utility
|
public IssueModel(Issue lIssue)
lIssue
- public double getAverage()
public double getDeviation()
public void addValue(Value pValue)
public double getNumberValue(Value pValue)
public double getUtility(Bid pBid)
public double getDiscreteUtility(Bid pBid)
public double getRealUtility(Bid pBid)
public double getWeight()
public double getDiscreteWeight()
public double getRealWeight()