public class SlavaAgent extends Agent
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace
Constructor and Description |
---|
SlavaAgent() |
Modifier and Type | Method and Description |
---|---|
Action |
chooseAction()
Choose the next action to make for agent.
|
void |
endSession(NegotiationResult result)
Method saves to disk the best offer bid of these domain.
|
Bid |
GetMaxBid()
Method calculates the bid that has a maximum value for us from the
domain.
|
java.lang.String |
getName() |
java.lang.String |
getVersion()
Version of the agent.
|
void |
init()
Initialize our parameters for the agent:
maxBid - the bid that maximized our profit which we have found so far.
|
void |
ReceiveMessage(Action opponentAction)
Method saves the opponent's action.
|
getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getSupportedNegotiationSetting, getUniqueIdentifier, getUtility, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep
public Bid GetMaxBid() throws java.lang.Exception
java.lang.Exception
public void init()
public java.lang.String getVersion()
getVersion
in class Agent
public java.lang.String getName()
public void ReceiveMessage(Action opponentAction)
ReceiveMessage
in class Agent
public Action chooseAction()
chooseAction
in class Agent
public void endSession(NegotiationResult result)
endSession
in class Agent
result
- discounted utility of previous session round.