public class OpponentBids
extends java.lang.Object
Constructor and Description |
---|
OpponentBids(UtilitySpace utilitySpace) |
Modifier and Type | Method and Description |
---|---|
void |
addBid(Bid bid)
add opponent bid and updates statistics
|
Bid |
getMaxUtilityBidForMe()
returns opponents Bids
|
Value |
getMostVotedValueForIsuue(Issue issue)
returns the most voted value for an isuue
|
double |
getOpponentBidUtility(Domain domain,
Bid bid)
returns opponent bid utility that calculated from the vote statistics.
|
java.util.ArrayList<Bid> |
getOpponentsBids()
return opponents Bids
|
public OpponentBids(UtilitySpace utilitySpace)
public void addBid(Bid bid)
public java.util.ArrayList<Bid> getOpponentsBids()
public Bid getMaxUtilityBidForMe()
public Value getMostVotedValueForIsuue(Issue issue)