public class SimpleAgt2 extends Agent
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace
Constructor and Description |
---|
SimpleAgt2() |
Modifier and Type | Method and Description |
---|---|
Action |
chooseAction()
this function is called after ReceiveMessage, with an Offer-action.
|
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() |
void |
ReceiveMessage(Action opponentAction)
informs you which action the opponent did
|
endSession, getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUniqueIdentifier, getUtility, init, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep
public void ReceiveMessage(Action opponentAction)
Agent
ReceiveMessage
in class Agent
public java.lang.String getVersion()
getVersion
in class Agent
public java.lang.String getName()
public Action chooseAction()
Agent
chooseAction
in class Agent
public SupportedNegotiationSetting getSupportedNegotiationSetting()
Agent
getSupportedNegotiationSetting
in class Agent