public class BayesianModel extends OpponentModel
opponentUtilitySpace
negotiationSession
Constructor and Description |
---|
BayesianModel() |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
Removes references to the objects used by the opponent model.
|
double |
getBidEvaluation(Bid bid)
Determines the utility of a bid according to the preference profile.
|
java.lang.String |
getName() |
UtilitySpace |
getOpponentUtilitySpace() |
java.util.Set<BOAparameter> |
getParameters()
returns the set of available parameters of this BOA component.
|
double |
getWeight(Issue issue)
Returns the weight of a particular issue in the domain.
|
void |
init(NegotiationSession negotiationSession,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initializes the opponent model.
|
void |
updateModel(Bid opponentBid,
double time)
Update the opponent model by updating all hypotheses about the opponent's
preference profile.
|
getIssueWeights, 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
- time
- of offeringpublic double getBidEvaluation(Bid bid)
OpponentModel
getBidEvaluation
in class OpponentModel
bid
- of which the utility is calculated.public double getWeight(Issue issue)
OpponentModel
getWeight
in class OpponentModel
issue
- from which the weight should be returnedpublic UtilitySpace getOpponentUtilitySpace()
getOpponentUtilitySpace
in class OpponentModel
public void cleanUp()
OpponentModel
cleanUp
in class OpponentModel
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