public class UIAgent extends Agent
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace
Constructor and Description |
---|
UIAgent() |
Modifier and Type | Method and Description |
---|---|
Action |
chooseAction()
this function is called after ReceiveMessage, with an Offer-action.
|
SupportedNegotiationSetting |
getSupportedNegotiationSetting()
Indicates what negotiation settings are supported by an agent, such as
linear or non-linear utility spaces.
|
java.lang.String |
getVersion()
Creates a new instance of UIAgent
|
void |
init()
One agent will be kept alive over multiple sessions.
|
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
public java.lang.String getVersion()
getVersion
in class Agent
public void init()
public void ReceiveMessage(Action opponentAction)
Agent
ReceiveMessage
in class Agent
public Action chooseAction()
Agent
chooseAction
in class Agent
public boolean isUIAgent()
Agent
public SupportedNegotiationSetting getSupportedNegotiationSetting()
Agent
getSupportedNegotiationSetting
in class Agent