public class SmithModel
extends agents.bayesianopponentmodel.OpponentModel
Constructor and Description |
---|
SmithModel(UtilitySpace space)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addBid(Bid pBid)
Adds the values of each issue of a bid to the preferenceprofilemanager
|
double |
getNormalizedUtility(Bid pBid)
Returns the utility of a bid, but instead of the normal utility it is
based on the weights of each issues
|
double |
getWeight(int issueNr) |
java.util.HashMap<Issue,java.lang.Double> |
getWeights()
Returns a hashmap with the weights for each of the issues
|
public SmithModel(UtilitySpace space)
public void addBid(Bid pBid)
public java.util.HashMap<Issue,java.lang.Double> getWeights()
public double getWeight(int issueNr)
public double getNormalizedUtility(Bid pBid)
getNormalizedUtility
in class agents.bayesianopponentmodel.OpponentModel