public class IAMhaggler2011 extends SouthamptonAgent
Modifier and Type | Field and Description |
---|---|
protected BidCreator |
bidCreator |
protected double |
RISK_PARAMETER |
acceptMultiplier, debug, MAXIMUM_ASPIRATION, myLastAction, myLastBid, opponentPreviousBid
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace
Constructor and Description |
---|
IAMhaggler2011() |
Modifier and Type | Method and Description |
---|---|
protected Jama.Matrix |
generateRiskFunction(double riskParameter)
Generate an n-by-m matrix representing the risk based utility for a given
utility-time combination.
|
protected double |
generateRiskFunction(double riskParameter,
double utility)
Generate the risk based utility for a given actual utility.
|
java.lang.String |
getName() |
protected double |
getTarget(double opponentUtility,
double time)
Get the target at a given time, recording the opponent's utility.
|
void |
init()
This method is called by the protocol every time before starting a new
session after the internalInit method is called.
|
protected Bid |
proposeInitialBid()
Propose the initial bid.
|
protected Bid |
proposeNextBid(Bid opponentBid)
Propose the next bid.
|
chooseAction, chooseAction, finalize, flushLog, getAgentNo, getRandomBidInRange, getVersion, log, log, logError, OfferReceived, ReceiveMessage, ReceiveMessage
adjustDiscountFactor, getTime, setOpponentTime, setOurTime
endSession, getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getSupportedNegotiationSetting, getUniqueIdentifier, getUtility, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep
protected double RISK_PARAMETER
protected BidCreator bidCreator
public void init()
Agent
init
in class SouthamptonAgent
public java.lang.String getName()
protected Bid proposeInitialBid() throws java.lang.Exception
SouthamptonAgent
proposeInitialBid
in class SouthamptonAgent
java.lang.Exception
protected Bid proposeNextBid(Bid opponentBid) throws java.lang.Exception
SouthamptonAgent
proposeNextBid
in class SouthamptonAgent
opponentBid
- The bid that has just been made by the opponent.java.lang.Exception
protected double getTarget(double opponentUtility, double time)
opponentUtility
- The utility of the most recent offer made by the opponent.time
- The current time.protected Jama.Matrix generateRiskFunction(double riskParameter)
riskParameter
- The risk parameter.protected double generateRiskFunction(double riskParameter, double utility)
riskParameter
- The risk parameter.utility
- The actual utility to calculate the risk based utility from.