public class OMACagent extends Agent
Modifier and Type | Field and Description |
---|---|
double |
cTime |
boolean |
debug |
boolean |
detail |
double |
discount |
double |
discountThreshold |
double |
est_mt |
double |
est_mu |
double |
exma |
int |
intervals |
int |
lenA |
int |
numberOfIssues |
double |
timeInt |
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace
Constructor and Description |
---|
OMACagent() |
Modifier and Type | Method and Description |
---|---|
static double |
avg(double[] arr) |
Action |
chooseAction()
this function is called after ReceiveMessage, with an Offer-action.
|
java.lang.String |
getName() |
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 |
ReceiveMessage(Action opponentAction)
informs you which action the opponent did
|
static double |
std(double[] arr) |
static double |
sum(double[] arr) |
endSession, getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getSupportedNegotiationSetting, getUniqueIdentifier, getUtility, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep
public int intervals
public double timeInt
public double discount
public double cTime
public int numberOfIssues
public double discountThreshold
public int lenA
public double exma
public double est_mu
public double est_mt
public boolean debug
public boolean detail
public void init()
Agent
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 static double sum(double[] arr)
public static double avg(double[] arr)
public static double std(double[] arr)