public class HardHeadedFrequencyModel extends OpponentModel
opponentUtilitySpace
negotiationSession
Constructor and Description |
---|
HardHeadedFrequencyModel() |
Modifier and Type | Method and Description |
---|---|
double |
getBidEvaluation(Bid bid)
Determines the utility of a bid according to the preference profile.
|
java.lang.String |
getName() |
java.util.Set<BOAparameter> |
getParameters()
returns the set of available parameters of this BOA component.
|
void |
init(NegotiationSession negotiationSession,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initializes the utility space of the opponent such that all value issue
weights are equal.
|
void |
updateModel(Bid opponentBid,
double time)
Updates the opponent model given a bid.
|
cleanUp, getIssueWeights, getOpponentUtilitySpace, getWeight, init, isCleared, loadData, setOpponentUtilitySpace, setOpponentUtilitySpace, storeData, updateModel
endSession
public void init(NegotiationSession negotiationSession, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
init
in class OpponentModel
negotiationSession
- reference to the state of the negotiationjava.lang.Exception
public void updateModel(Bid opponentBid, double time)
updateModel
in class OpponentModel
opponentBid
- to receiveMessage the model with.time
- at which the bid was offered.public double getBidEvaluation(Bid bid)
OpponentModel
getBidEvaluation
in class OpponentModel
bid
- of which the utility is calculated.public java.lang.String getName()
getName
in class OpponentModel
public java.util.Set<BOAparameter> getParameters()
BOA
#init(...)
calls to the
components.getParameters
in class BOA