public class IssueEstimator
extends java.lang.Object
Constructor and Description |
---|
IssueEstimator(double n)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addBid(Bid bid,
BidHistory bidHistory)
Add a bid to the issue estimator, automatically recalculating the issue
weights and issue value weights
|
double |
getUtility(Bid bid)
Returns the utility of the bid for this issueEstimator
|
public IssueEstimator(double n)
n
- sensitivity parameterpublic void addBid(Bid bid, BidHistory bidHistory)
bid
- bid you want to add to the estimatorbidHistory
- bidHistory belonging to the opponent you received the bid from
(excluding(!) the bid in the first parameter)public double getUtility(Bid bid)
bid
-