public class KLH extends Agent
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace
Constructor and Description |
---|
KLH() |
Modifier and Type | Method and Description |
---|---|
Action |
chooseAction()
This is the main strategy of that determines the behavior of the agent.
|
double |
get_p()
This function calculates the concession amount based on remaining time,
initial parameters, and, the discount factor.
|
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()
handles some initializations.
|
void |
ReceiveMessage(Action pAction)
Receives opponent's action
|
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 pAction)
ReceiveMessage
in class Agent
public double get_p()
public Action chooseAction()
chooseAction
in class Agent
Action
that contains agents decisionpublic SupportedNegotiationSetting getSupportedNegotiationSetting()
Agent
getSupportedNegotiationSetting
in class Agent