public class UIAgentExtended extends Agent
Modifier and Type | Field and Description |
---|---|
protected int |
bidCounter |
protected java.util.ArrayList<agents.NegoRoundData> |
historyOfBids |
protected agents.NegoRoundData |
roundData |
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace
Constructor and Description |
---|
UIAgentExtended() |
Modifier and Type | Method and Description |
---|---|
Action |
chooseAction()
this function is called after ReceiveMessage, with an Offer-action.
|
Bid |
getMyPreviousBid() |
Bid |
getOppPreviousBid() |
SupportedNegotiationSetting |
getSupportedNegotiationSetting()
Indicates what negotiation settings are supported by an agent, such as
linear or non-linear utility spaces.
|
java.lang.String |
getVersion()
One agent will be kept alive over multiple sessions.
|
void |
init()
This method is called by the protocol every time before starting a new
session after the internalInit method is called.
|
boolean |
isUIAgent()
Determine if this agent is communicating with the user about nego steps.
|
void |
ReceiveMessage(Action opponentAction)
informs you which action the opponent did
|
endSession, getAgentID, getName, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUniqueIdentifier, getUtility, internalInit, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep
protected int bidCounter
protected agents.NegoRoundData roundData
protected java.util.ArrayList<agents.NegoRoundData> historyOfBids
public java.lang.String getVersion()
getVersion
in class Agent
public void init()
Agent
public void ReceiveMessage(Action opponentAction)
Agent
ReceiveMessage
in class Agent
public Action chooseAction()
Agent
chooseAction
in class Agent
public boolean isUIAgent()
Agent
public Bid getMyPreviousBid()
public Bid getOppPreviousBid()
public SupportedNegotiationSetting getSupportedNegotiationSetting()
Agent
getSupportedNegotiationSetting
in class Agent