public class CUHKFrequencyModelV2 extends OpponentModel
opponentUtilitySpace
negotiationSession
Constructor and Description |
---|
CUHKFrequencyModelV2() |
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() |
UtilitySpace |
getOpponentUtilitySpace()
Returns the estimated utilityspace.
|
double |
getWeight(Issue issue)
This model does not rely on issue weights.
|
void |
init(NegotiationSession negotiationSession)
Alternative init method to initialize the model without setting
parameters.
|
void |
init(NegotiationSession negotiationSession,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
initialization of the model in which the issues are cached and the score keeper for each issue is created.
|
void |
updateModel(Bid bid,
double time)
This function updates the opponent's Model by calling the
updateStatistics method
|
cleanUp, getIssueWeights, isCleared, loadData, setOpponentUtilitySpace, setOpponentUtilitySpace, storeData, updateModel
endSession, getParameters
public void init(NegotiationSession negotiationSession)
OpponentModel
init
in class OpponentModel
negotiationSession
- reference to the state of the negotiationpublic 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 bid, double time)
updateModel
in class OpponentModel
bid
- 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 UtilitySpace getOpponentUtilitySpace()
getOpponentUtilitySpace
in class OpponentModel
public double getWeight(Issue issue)
getWeight
in class OpponentModel
issue
- from which the weight should be returnedpublic java.lang.String getName()
getName
in class OpponentModel