public class IAMhaggler2012 extends IAMhaggler2011
bidCreator, RISK_PARAMETER
acceptMultiplier, debug, MAXIMUM_ASPIRATION, myLastAction, myLastBid, opponentPreviousBid
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace
Constructor and Description |
---|
IAMhaggler2012() |
Modifier and Type | Method and Description |
---|---|
SupportedNegotiationSetting |
getSupportedNegotiationSetting()
Indicates what negotiation settings are supported by an agent, such as
linear or non-linear utility spaces.
|
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.
|
generateRiskFunction, generateRiskFunction, getName
chooseAction, chooseAction, finalize, flushLog, getAgentNo, getRandomBidInRange, getVersion, log, log, logError, OfferReceived, ReceiveMessage, ReceiveMessage
adjustDiscountFactor, getTime, setOpponentTime, setOurTime
endSession, getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUniqueIdentifier, getUtility, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep
public void init()
Agent
init
in class IAMhaggler2011
protected Bid proposeInitialBid() throws java.lang.Exception
SouthamptonAgent
proposeInitialBid
in class IAMhaggler2011
java.lang.Exception
protected Bid proposeNextBid(Bid opponentBid) throws java.lang.Exception
SouthamptonAgent
proposeNextBid
in class IAMhaggler2011
opponentBid
- The bid that has just been made by the opponent.java.lang.Exception
protected double getTarget(double opponentUtility, double time)
IAMhaggler2011
getTarget
in class IAMhaggler2011
opponentUtility
- The utility of the most recent offer made by the opponent.time
- The current time.public SupportedNegotiationSetting getSupportedNegotiationSetting()
Agent
getSupportedNegotiationSetting
in class Agent