public class TheNegotiator extends Agent
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace
Constructor and Description |
---|
TheNegotiator() |
Modifier and Type | Method and Description |
---|---|
Action |
chooseAction()
Choose an action to perform.
|
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 |
init()
init is called when a next session starts with the same partner.
|
void |
ReceiveMessage(Action partnerAction)
Store the actions made by a partner.
|
endSession, getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUniqueIdentifier, getUtility, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep
public void init()
public java.lang.String getVersion()
getVersion
in class Agent
public java.lang.String getName()
public void ReceiveMessage(Action partnerAction)
ReceiveMessage
in class Agent
action
- by partner in current turnpublic Action chooseAction()
chooseAction
in class Agent
public SupportedNegotiationSetting getSupportedNegotiationSetting()
Agent
getSupportedNegotiationSetting
in class Agent