Package | Description |
---|---|
negotiator | |
negotiator.actions | |
negotiator.boaframework | |
negotiator.events | |
negotiator.parties | |
negotiator.protocol | |
negotiator.protocol.alternatingoffers | |
negotiator.session |
Modifier and Type | Method and Description |
---|---|
abstract Action |
Agent.chooseAction()
this function is called after ReceiveMessage, with an Offer-action.
|
abstract Action |
Party.chooseAction(java.util.ArrayList<java.lang.Class> validActions)
Deprecated.
|
Action |
PocketNegotiatorAgent.getAction()
ask the agent for its next action.
|
Action |
NegotiationResult.getLastAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
NegoRound.doesTerminateWithFailure(Action currentAction) |
boolean |
NegoRound.doesTerminateWithSuccess(Action currentAction) |
void |
PocketNegotiatorAgent.handleAction(Action act)
the agent's opponent did an action.
|
boolean |
NegoRound.isCurrentActionValid(Action currentAction) |
abstract void |
Party.ReceiveMessage(Action opponentAction)
Deprecated.
|
void |
Agent.ReceiveMessage(Action opponentAction)
informs you which action the opponent did
|
Constructor and Description |
---|
ActionEvent(Agent actorP,
Action actP,
int roundP,
long elapsed,
double utilA,
double utilB,
java.lang.String remarks) |
NegotiationOutcome(AlternatingOffersBilateralAtomicNegoSession alternatingOffersBilateralAtomicNegoSession,
int runNumber,
Action lastAction,
java.util.ArrayList<BidPointTime> agentASize,
java.util.ArrayList<BidPointTime> agentBSize,
boolean startingWithA,
SimpleElement additional,
double distanceToNash,
OutcomeInfo outcomeInfo)
Creates a new instance of NegotiationOutcome
|
NegotiationResult(double myDiscountedUtility,
Action lastAction,
Bid lastBid) |
Modifier and Type | Interface and Description |
---|---|
interface |
ActionWithBid
Interface for actions that involve a
Bid |
Modifier and Type | Class and Description |
---|---|
class |
Accept
This class is used to createFrom an action which symbolizes that an agent
accepts an offer.
|
class |
DefaultAction |
class |
DefaultActionWithBid
Default implementation for ActionWithBid
|
class |
EndNegotiation
Class which symbolizes the action to leave a negotiation.
|
class |
EndNegotiationWithAnOffer
This action is used by parties to indicate they want not to continue after
this last offer.
|
class |
GiveFeedback
An agent can give feedback on other actions using this action.
|
class |
IllegalAction
This action represents that the agent did an illegal action (not fitting the
protocol), eg kill his agent.
|
class |
Inform
inform about some property.
|
class |
InformVotingResult
informs about a voting result.
|
class |
NoAction
immutable.
|
class |
Offer
Symbolizes an offer of an agent for the opponent.
|
class |
OfferForFeedback
immutable.
|
class |
OfferForVoting
immutable
|
class |
Reject
This class is used to createFrom an action which symbolizes that an agent
rejects an offer.
|
class |
VoteForOfferAcceptance
This action can be used to indicate accept or reject of an offer.
|
Modifier and Type | Method and Description |
---|---|
static Bid |
DefaultAction.getBidFromAction(Action currentAction)
Method which returns the bid of the current action if it is of the type
Offer or else Null.
|
Modifier and Type | Method and Description |
---|---|
Action |
BOAagent.chooseAction()
Chooses an action to perform.
|
Modifier and Type | Method and Description |
---|---|
void |
BOAagent.ReceiveMessage(Action opponentAction)
Stores the actions made by a partner.
|
Modifier and Type | Method and Description |
---|---|
Action |
ActionEvent.getAct() |
Constructor and Description |
---|
ActionEvent(java.lang.Object source,
Agent actorP,
Action actP,
int roundP,
long elapsed,
double t,
double utilA,
double utilB,
double utilADiscount,
double utilBDsicount,
java.lang.String remarks,
boolean finalActionEvent) |
Modifier and Type | Method and Description |
---|---|
Action |
NegotiationParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
When this function is called, it is expected that the Party chooses one
of the actions from the possible action list and returns an instance of
the chosen action.
|
Action |
AbstractNegotiationParty.getLastReceivedAction() |
Modifier and Type | Method and Description |
---|---|
void |
NegotiationParty.receiveMessage(AgentID sender,
Action action)
This method is called when another
NegotiationParty chose an
Action . |
void |
AbstractNegotiationParty.receiveMessage(AgentID sender,
Action act) |
Modifier and Type | Method and Description |
---|---|
Action |
NegotiationParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
When this function is called, it is expected that the Party chooses one
of the actions from the possible action list and returns an instance of
the chosen action.
|
Modifier and Type | Field and Description |
---|---|
protected Action |
BilateralAtomicNegotiationSession.lastAction |
Modifier and Type | Method and Description |
---|---|
java.util.Map<NegotiationParty,java.util.List<Action>> |
StackedAlternatingOffersProtocol.beforeSession(Session session,
java.util.List<NegotiationParty> parties) |
java.util.Map<NegotiationParty,java.util.List<Action>> |
MultilateralProtocol.beforeSession(Session session,
java.util.List<NegotiationParty> parties)
Returns a list of Actions to be sent to
NegotiationParty.receiveMessage(AgentID, Action) . |
java.util.Map<NegotiationParty,java.util.List<Action>> |
DefaultMultilateralProtocol.beforeSession(Session session,
java.util.List<NegotiationParty> parties)
This will get called just before the session starts.
|
Modifier and Type | Method and Description |
---|---|
void |
MultilateralProtocol.applyAction(Action action,
Session session)
Apply the action according to the protocol.
|
void |
DefaultMultilateralProtocol.applyAction(Action action,
Session session)
Apply the action according to the protocol.
|
void |
Protocol.fireNegotiationActionEvent(Agent actorP,
Action actP,
int roundP,
long elapsed,
double time,
double utilA,
double utilB,
double utilADiscount,
double utilBDiscount,
java.lang.String remarks,
boolean finalActionEvent) |
protected void |
BilateralAtomicNegotiationSession.fireNegotiationActionEvent(Agent actorP,
Action actP,
int roundP,
long elapsed,
double time,
double utilA,
double utilB,
double utilADiscount,
double utilBDiscount,
java.lang.String remarks,
boolean finalActionEvent) |
protected void |
BilateralAtomicNegotiationSession.fireNegotiationActionEvent(Agent actorP,
Action actP,
int roundP,
long elapsed,
double utilA,
double utilB,
double utilADiscount,
double utilBDiscount,
java.lang.String remarks,
boolean finalActionEvent)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Turn |
AlternatingMultipleOffersProtocol.createTurn(NegotiationParty party,
java.lang.Class<? extends Action> allowedAction)
create factory function.
|
Turn |
AlternatingMultipleOffersProtocol.createTurn(NegotiationParty votingParty,
java.util.Collection<java.lang.Class<? extends Action>> allowedActions)
factory function.
|
Modifier and Type | Method and Description |
---|---|
protected Action |
AlternatingOffersBilateralAtomicNegoSession.intercept(Action lastAction)
Does not usually intercept anything, but when "oneSidedBidding" is
enabled in the settings, then agent A's bids are ignored, and replaced by
the bid that has max utility for A.
|
Modifier and Type | Method and Description |
---|---|
protected Action |
AlternatingOffersBilateralAtomicNegoSession.intercept(Action lastAction)
Does not usually intercept anything, but when "oneSidedBidding" is
enabled in the settings, then agent A's bids are ignored, and replaced by
the bid that has max utility for A.
|
Modifier and Type | Method and Description |
---|---|
Action |
Turn.getAction()
Gets the action executed this turn
|
Action |
Session.getMostRecentAction()
Get the most recently executed action.
|
Action |
Round.getMostRecentAction()
get the last item of the
Round.getActions() list, which in practice
should be the most recent action of this round. |
Modifier and Type | Method and Description |
---|---|
java.util.List<Action> |
Round.getActions()
Gets the actions in done in this round.
|
java.util.ArrayList<java.lang.Class<? extends Action>> |
Turn.getValidActions()
Get (copy of) all valid actions for this turn.
|
Modifier and Type | Method and Description |
---|---|
void |
Turn.setAction(Action action)
Sets the action executed this turn.
|
Constructor and Description |
---|
InvalidActionError(NegotiationParty instigator,
java.util.List<java.lang.Class<? extends Action>> allowed,
Action found)
Initializes a new instance of the
InvalidActionError class. |
Constructor and Description |
---|
InvalidActionError(NegotiationParty instigator,
java.util.List<java.lang.Class<? extends Action>> allowed,
Action found)
Initializes a new instance of the
InvalidActionError class. |
Turn(NegotiationParty party,
java.util.Collection<java.lang.Class<? extends Action>> validActions)
Initializes a new instance of the turn class.
|