public class SimpleANAC2013Agent extends Agent
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace
Constructor and Description |
---|
SimpleANAC2013Agent() |
Modifier and Type | Method and Description |
---|---|
Action |
chooseAction()
Accept if the utility of the opponent's is higher than the target
utility; else return a random bid with a utility at least equal to the
target utility.
|
void |
endSession(NegotiationResult result)
Set the target utility for the next match on the same preference profile.
|
java.lang.String |
getName() |
java.lang.String |
getVersion() |
void |
init()
Initialize the target utility to MAX(rv, max).
|
void |
ReceiveMessage(Action opponentAction)
Retrieve the bid from the opponent's last action.
|
getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getSupportedNegotiationSetting, 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 endSession(NegotiationResult result)
endSession
in class Agent
result
- discounted utility of previous session round.public void ReceiveMessage(Action opponentAction)
ReceiveMessage
in class Agent
public Action chooseAction()
chooseAction
in class Agent