public class WorstModel extends OpponentModel
opponentUtilitySpace
negotiationSession
Constructor and Description |
---|
WorstModel() |
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() |
void |
setOpponentUtilitySpace(BilateralAtomicNegotiationSession session)
Method which may be overwritten by an opponent model to get access to the
opponent's utilityspace.
|
void |
setOpponentUtilitySpace(UtilitySpace opponentUtilitySpace)
Method which may be overwritten by an opponent model to get access to the
opponent's utilityspace.
|
void |
updateModel(Bid opponentBid,
double time)
Method used to receiveMessage the opponent model.
|
cleanUp, getIssueWeights, getWeight, init, init, isCleared, loadData, storeData, updateModel
endSession, getParameters
public void setOpponentUtilitySpace(BilateralAtomicNegotiationSession session)
OpponentModel
setOpponentUtilitySpace
in class OpponentModel
public void setOpponentUtilitySpace(UtilitySpace opponentUtilitySpace)
OpponentModel
setOpponentUtilitySpace
in class OpponentModel
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 UtilitySpace getOpponentUtilitySpace()
getOpponentUtilitySpace
in class OpponentModel
public void updateModel(Bid opponentBid, double time)
OpponentModel
updateModel
in class OpponentModel
opponentBid
- to receiveMessage the model with.time
- at which the bid was offered.