public class ValueModelAgent extends Agent
Modifier and Type | Field and Description |
---|---|
double |
myMaximumUtility |
double |
noChangeCounter |
BidList |
opponentBids |
double |
opponentMaxBidUtil |
double |
opponentStartbidUtil |
BidList |
ourBids |
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace
Constructor and Description |
---|
ValueModelAgent() |
Modifier and Type | Method and Description |
---|---|
void |
bestScan() |
void |
chickenGame(double timeToGive,
double concessionPortion,
double acceptableThresh) |
Action |
chooseAction()
this function is called after ReceiveMessage, with an Offer-action.
|
void |
exploreScan() |
java.lang.String |
getName() |
SupportedNegotiationSetting |
getSupportedNegotiationSetting()
Indicates what negotiation settings are supported by an agent, such as
linear or non-linear utility spaces.
|
void |
init()
This method is called by the protocol every time before starting a new
session after the internalInit method is called.
|
void |
ReceiveMessage(Action opponentAction)
informs you which action the opponent did
|
endSession, getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUniqueIdentifier, getUtility, getVersion, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep
public BidList opponentBids
public BidList ourBids
public double opponentStartbidUtil
public double opponentMaxBidUtil
public double myMaximumUtility
public double noChangeCounter
public void init()
Agent
public void ReceiveMessage(Action opponentAction)
Agent
ReceiveMessage
in class Agent
public Action chooseAction()
Agent
chooseAction
in class Agent
public void bestScan()
public void exploreScan()
public void chickenGame(double timeToGive, double concessionPortion, double acceptableThresh)
public java.lang.String getName()
public SupportedNegotiationSetting getSupportedNegotiationSetting()
Agent
getSupportedNegotiationSetting
in class Agent