public abstract class OpponentModel extends BOA
AdditiveUtilitySpace
. Also
notice that most implementations are assuming bi-lateral negotiation (2
parties).
paper: https://ii.tudelft.nl/sites/default/files/boa.pdfModifier and Type | Field and Description |
---|---|
protected AdditiveUtilitySpace |
opponentUtilitySpace
Reference to the estimated opponent's utility state
|
negotiationSession
Constructor and Description |
---|
OpponentModel() |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
Removes references to the objects used by the opponent model.
|
double |
getBidEvaluation(Bid bid)
Support function.
|
double[] |
getIssueWeights() |
java.lang.String |
getName() |
AbstractUtilitySpace |
getOpponentUtilitySpace() |
double |
getWeight(Issue issue)
Returns the weight of a particular issue in the domain.
|
void |
init(NegotiationSession negotiationSession,
java.util.Map<java.lang.String,java.lang.Double> parameters)
Initializes the model.
|
boolean |
isCleared() |
java.io.Serializable |
loadData()
Method used to load the saved object, possibly created in a previous
negotiation session.
|
void |
setOpponentUtilitySpace(AdditiveUtilitySpace opponentUtilitySpace)
Method which may be overwritten by an opponent model to get access to the
opponent's utilityspace.
|
void |
setOpponentUtilitySpace(BilateralAtomicNegotiationSession fNegotiation)
Method which may be overwritten by an opponent model to get access to the
opponent's utilityspace.
|
void |
storeData(java.io.Serializable object)
Method used to store data that should be accessible in the next
negotiation session on the same scenario.
|
void |
updateModel(Bid opponentBid)
Called to inform about a new
Bid done by the opponent. |
protected abstract void |
updateModel(Bid bid,
double time)
As
updateModel(Bid) but with the current time added. |
endSession, getParameters, getParameterSpec
protected AdditiveUtilitySpace opponentUtilitySpace
public void init(NegotiationSession negotiationSession, java.util.Map<java.lang.String,java.lang.Double> parameters)
public void updateModel(Bid opponentBid)
Bid
done by the opponent.opponentBid
- the bid received from the opponentprotected abstract void updateModel(Bid bid, double time)
updateModel(Bid)
but with the current time added.public double getBidEvaluation(Bid bid)
bid
- of which the utility is calculated.public AbstractUtilitySpace getOpponentUtilitySpace()
public void setOpponentUtilitySpace(BilateralAtomicNegotiationSession fNegotiation)
fNegotiation
- public void setOpponentUtilitySpace(AdditiveUtilitySpace opponentUtilitySpace)
opponentUtilitySpace
- public double getWeight(Issue issue)
AdditiveUtilitySpace
.issue
- from which the weight should be returnedpublic double[] getIssueWeights()
public void cleanUp()
public boolean isCleared()
public java.lang.String getName()
public final void storeData(java.io.Serializable object)
BOA
public final java.io.Serializable loadData()
BOA