public class IAMcrazyHaggler extends SouthamptonAgent
acceptMultiplier, bidSpace, MAXIMUM_ASPIRATION, myLastAction, myLastBid, myPreviousBids, opponentBids, opponentIsHardHead, opponentModel, opponentPreviousBid
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace
Constructor and Description |
---|
IAMcrazyHaggler() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
SupportedNegotiationSetting |
getSupportedNegotiationSetting()
Indicates what negotiation settings are supported by an agent, such as
linear or non-linear utility spaces.
|
java.lang.String |
getVersion()
Gets the version number.
|
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, finalize, getAgentNo, getRandomBidInRange, log, ReceiveMessage
endSession, getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUniqueIdentifier, getUtility, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep
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
public java.lang.String getVersion()
SouthamptonAgent
getVersion
in class SouthamptonAgent
public SupportedNegotiationSetting getSupportedNegotiationSetting()
Agent
getSupportedNegotiationSetting
in class Agent