public class AgentSmith extends Agent
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace
Constructor and Description |
---|
AgentSmith() |
Modifier and Type | Method and Description |
---|---|
Action |
chooseAction()
When we take turn, this function is invoked.
|
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()
The version of this agent
|
void |
init()
The agent will be initialized here.
|
void |
ReceiveMessage(Action pAction)
This is called when a action was done, by the other agent.
|
endSession, getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUniqueIdentifier, getUtility, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep
public java.lang.String getVersion()
getVersion
in class Agent
public java.lang.String getName()
public void ReceiveMessage(Action pAction)
ReceiveMessage
in class Agent
public Action chooseAction()
chooseAction
in class Agent
public SupportedNegotiationSetting getSupportedNegotiationSetting()
Agent
getSupportedNegotiationSetting
in class Agent