public abstract class OptimalBidderU extends Agent
Modifier and Type | Field and Description |
---|---|
protected static int |
partitions |
protected static Issue |
pie |
protected static java.util.HashMap<java.lang.Integer,Value> |
values |
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace
Constructor and Description |
---|
OptimalBidderU() |
Modifier and Type | Method and Description |
---|---|
abstract double |
bid(int j)
computation of the bid for round j
|
Action |
chooseAction()
this function is called after ReceiveMessage, with an Offer-action.
|
java.lang.String |
getName() |
int |
getOwnRoundsLeft() |
abstract double |
getReservationValue(double arg)
depending on the agent's utility space, the reservation value will have
to be acquired in a specific manner
|
int |
getRound() |
int |
getRoundsLeft() |
int |
getTotalRounds() |
double |
getTotalTime() |
java.lang.String |
getVersion() |
void |
init()
Init is called when a next session starts with the same opponent.
|
void |
ReceiveMessage(Action opponentAction)
informs you which action the opponent did
|
abstract double |
utility(int j) |
endSession, getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getSupportedNegotiationSetting, getUniqueIdentifier, getUtility, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep
protected static int partitions
protected static java.util.HashMap<java.lang.Integer,Value> values
protected static Issue pie
public abstract double bid(int j)
round
- jpublic abstract double utility(int j)
public abstract double getReservationValue(double arg) throws java.lang.Exception
double
- argjava.lang.Exception
public void init()
public java.lang.String getVersion()
getVersion
in class Agent
public java.lang.String getName()
public void ReceiveMessage(Action opponentAction)
Agent
ReceiveMessage
in class Agent
public Action chooseAction()
Agent
chooseAction
in class Agent
public int getRound()
public int getRoundsLeft()
public int getOwnRoundsLeft()
public int getTotalRounds()
public double getTotalTime()