public abstract class BOAagent extends Agent
Modifier and Type | Field and Description |
---|---|
protected AcceptanceStrategy |
acceptConditions
when to accept
|
protected NegotiationSession |
negotiationSession
link to domain
|
protected OfferingStrategy |
offeringStrategy
what to offer
|
protected OMStrategy |
omStrategy
which bid to select using an opponent model
|
protected OpponentModel |
opponentModel
used to determine the utility of a bid for the opponent
|
protected OutcomeSpace |
outcomeSpace
space of possible bids
|
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace
Constructor and Description |
---|
BOAagent() |
Modifier and Type | Method and Description |
---|---|
abstract void |
agentSetup()
Method used to setup the agent.
|
Action |
chooseAction()
Choose an action to perform.
|
void |
cleanUp()
Clear the agent's variables.
|
abstract java.lang.String |
getName() |
OpponentModel |
getOpponentModel() |
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)
Store the actions made by a partner.
|
void |
setDecoupledComponents(AcceptanceStrategy ac,
OfferingStrategy os,
OpponentModel om,
OMStrategy oms)
Set the components of the decoupled agent.
|
endSession, getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getSupportedNegotiationSetting, getUniqueIdentifier, getUtility, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep
protected AcceptanceStrategy acceptConditions
protected NegotiationSession negotiationSession
protected OfferingStrategy offeringStrategy
protected OpponentModel opponentModel
protected OMStrategy omStrategy
protected OutcomeSpace outcomeSpace
public void init()
Agent
public abstract void agentSetup()
public void setDecoupledComponents(AcceptanceStrategy ac, OfferingStrategy os, OpponentModel om, OMStrategy oms)
ac
- the acceptance strategyos
- the offering strategyom
- the opponent modeloms
- the opponent model strategypublic java.lang.String getVersion()
getVersion
in class Agent
public abstract java.lang.String getName()
public void ReceiveMessage(Action opponentAction)
ReceiveMessage
in class Agent
Action
- by opponent in current turnpublic Action chooseAction()
chooseAction
in class Agent
public OpponentModel getOpponentModel()
public void cleanUp()