public class NashFrequencyModel extends OpponentModel
opponentUtilitySpace
negotiationSession
Constructor and Description |
---|
NashFrequencyModel() |
Modifier and Type | Method and Description |
---|---|
double |
getBidEvaluation(Bid bid)
This method estimates the utility of the negotiator given that it has just offered the given bid.
|
java.lang.String |
getName() |
UtilitySpace |
getOpponentUtilitySpace() |
double |
getWeight(Issue issue)
Returns the weight of a particular issue in the domain.
|
void |
init(NegotiationSession domainKnow,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initializes the model.
|
java.lang.String |
toString()
This returns a string representation of the negotiatormodel.
|
void |
updateModel(Bid bid,
double time)
This will receiveMessage the negotiatormodel based on a new bid that has just been offered by the negotiator.
|
cleanUp, getIssueWeights, init, isCleared, loadData, setOpponentUtilitySpace, setOpponentUtilitySpace, storeData, updateModel
endSession, getParameters
public void init(NegotiationSession domainKnow, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
OpponentModel
init
in class OpponentModel
domainKnow
- reference to the state of the negotiationjava.lang.Exception
public void updateModel(Bid bid, double time)
updateModel
in class OpponentModel
bid
- The bid that has just been offered.time
- at which the bid was offered.public double getBidEvaluation(Bid bid)
getBidEvaluation
in class OpponentModel
bid
- The bid that has just been offered by the negotiator that we are evaluating.public java.lang.String toString()
toString
in class java.lang.Object
public double getWeight(Issue issue)
OpponentModel
getWeight
in class OpponentModel
issue
- from which the weight should be returnedpublic java.lang.String getName()
getName
in class OpponentModel
public UtilitySpace getOpponentUtilitySpace()
getOpponentUtilitySpace
in class OpponentModel