public class QOAgent extends Agent
Modifier and Type | Field and Description |
---|---|
UtilitySpace[] |
opponentModels |
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace
Constructor and Description |
---|
QOAgent() |
Modifier and Type | Method and Description |
---|---|
Action |
chooseAction()
this function is called after ReceiveMessage, with an Offer-action.
|
java.lang.String |
getVersion() |
void |
init()
This method is called by the protocol every time before starting a new
session after the internalInit method is called.
|
void |
prepareAction(int pMessageType,
java.lang.String pMessage) |
void |
ReceiveMessage(Action opponentAction)
informs you which action the opponent did
|
endSession, getAgentID, getName, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getSupportedNegotiationSetting, getUniqueIdentifier, getUtility, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep
public UtilitySpace[] opponentModels
public Action chooseAction()
Agent
chooseAction
in class Agent
public java.lang.String getVersion()
getVersion
in class Agent
public void init()
Agent
public void ReceiveMessage(Action opponentAction)
Agent
ReceiveMessage
in class Agent
public void prepareAction(int pMessageType, java.lang.String pMessage)