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 | Class and Description |
---|---|
class |
Accept
This class is used to createFrom an action which symbolizes
that an agent accepts an offer.
|
class |
EndNegotiation
Class which symbolizes the action to leave a negotiation.
|
class |
EndNegotiationWithAnOffer |
class |
GiveFeedback |
class |
IllegalAction
This action represents that the agent did an illegal action
(not fitting the protocol), eg kill his agent.
|
class |
Inform
Created by dfesten on 21-8-2014.
|
class |
InformPartyList
This class is used to createFrom an action which symbolizes
that an agent accepts an offer.
|
class |
InformVotingResult |
class |
NoAction |
class |
Offer
Class which symbolizes an offer of an agent for the opponent.
|
class |
OfferForFeedback |
class |
OfferForVoting |
class |
Reject
This class is used to createFrom an action which symbolizes
that an agent accepts an offer.
|
class |
VoteForOfferAcceptance |
Modifier and Type | Method and Description |
---|---|
static Bid |
Action.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() |
Action |
MultipartyNegotiationOfferEvent.getAction() |
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) |
MultipartyNegotiationOfferEvent(java.lang.Object source,
int round,
int turn,
double time,
Action action,
java.util.ArrayList<java.lang.Double> partyUtilities,
boolean agreementFound) |
Modifier and Type | Method and Description |
---|---|
protected void |
MultiPartyNegotiationSession.fireMultipartyNegotiationOfferEvent(int round,
double time,
Action action,
java.util.ArrayList<java.lang.Double> partyUtilities,
boolean terminateNegotiation) |
Modifier and Type | Method and Description |
---|---|
Action |
ZeroIntelligenceMediator.chooseAction(java.util.ArrayList<java.lang.Class> validActions) |
Action |
SmartMediatorOnlyFeedbackWrtLastAcceptedBid.chooseAction(java.util.ArrayList<java.lang.Class> validActions) |
Action |
SmartMediatorOnlyFeedback.chooseAction(java.util.ArrayList<java.lang.Class> validActions) |
Action |
SmartMediatorBothFeedbackVoteVersion1.chooseAction(java.util.ArrayList<java.lang.Class> validActions) |
Action |
SmartMediatorBothFeedbackVote.chooseAction(java.util.ArrayList<java.lang.Class> validActions) |
Action |
RandomFlipplingMediator.chooseAction(java.util.ArrayList<java.lang.Class> validActions) |
Action |
PureRandomFlipplingMediator.chooseAction(java.util.ArrayList<java.lang.Class> validActions) |
Action |
HillClimberParty.chooseAction(java.util.ArrayList<java.lang.Class> validActions) |
Action |
FeedbackPartyWrtLastAcceptedBid.chooseAction(java.util.ArrayList<java.lang.Class> validActions) |
Action |
FeedbackParty.chooseAction(java.util.ArrayList<java.lang.Class> validActions) |
Action |
AnnealerParty.chooseAction(java.util.ArrayList<java.lang.Class> validActions) |
Action |
UINegotiationParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions) |
Action |
TimeoutNegotiationParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
If offer was proposed: Accept offer, otherwise: Propose random offer
|
Action |
RandomFlippingMediator.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
When this class 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 |
RandomFiftyFiftyNegotiationParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
If placing offers: do random offer if voting: accept/reject with a 50%
chance on both
|
Action |
RandomCounterOfferNegotiationParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
If placing offers: do random offer if voting: accept/reject with a 50%
chance on both
|
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 |
NegotiationEndingParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
If offer was proposed: Accept offer, otherwise: Propose random offer
|
Action |
MediatorHumanNegotiationParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions) |
Action |
HillClimber.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
When this class 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 |
FeedbackMediator.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
When this class 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 |
FeedbackHillClimber.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
When this class 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 |
EnumeratorParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions) |
Action |
CounterOfferHumanNegotiationParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions) |
Action |
ConsensusVotingHumanAgent.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions) |
Action |
Annealer.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
When this class 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 |
AcceptingNegotiationParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
If offer was proposed: Accept offer, otherwise: Propose random offer
|
Action |
AbstractTimeDependentNegotiationParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
When this class 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 | Method and Description |
---|---|
void |
ZeroIntelligenceMediator.ReceiveMessage(Action opponentAction) |
void |
SmartMediatorOnlyFeedbackWrtLastAcceptedBid.ReceiveMessage(Action opponentAction) |
void |
SmartMediatorOnlyFeedback.ReceiveMessage(Action opponentAction) |
void |
SmartMediatorBothFeedbackVoteVersion1.ReceiveMessage(Action opponentAction) |
void |
SmartMediatorBothFeedbackVote.ReceiveMessage(Action opponentAction) |
void |
RandomFlipplingMediator.ReceiveMessage(Action opponentAction) |
void |
PureRandomFlipplingMediator.ReceiveMessage(Action opponentAction) |
void |
HillClimberParty.ReceiveMessage(Action opponentAction) |
void |
FeedbackPartyWrtLastAcceptedBid.ReceiveMessage(Action opponentAction) |
void |
FeedbackParty.ReceiveMessage(Action opponentAction) |
void |
AnnealerParty.ReceiveMessage(Action opponentAction) |
void |
UINegotiationParty.receiveMessage(AgentID sender,
Action arguments) |
void |
TimeoutNegotiationParty.receiveMessage(AgentID sender,
Action arguments)
We ignore any messages received.
|
void |
RandomFlippingMediator.receiveMessage(AgentID sender,
Action arguments)
This method is called when an observable action is performed.
|
void |
RandomFiftyFiftyNegotiationParty.receiveMessage(AgentID sender,
Action arguments)
Processes action messages received by a given sender.
|
void |
RandomCounterOfferNegotiationParty.receiveMessage(AgentID sender,
Action arguments)
Processes action messages received by a given sender.
|
void |
NegotiationParty.receiveMessage(AgentID sender,
Action arguments)
This method is called when another
NegotiationParty chose an
Action . |
void |
NegotiationEndingParty.receiveMessage(AgentID sender,
Action arguments)
We ignore any messages received.
|
void |
MediatorHumanNegotiationParty.receiveMessage(AgentID sender,
Action arguments) |
void |
HillClimber.receiveMessage(AgentID sender,
Action arguments)
This method is called when an observable action is performed.
|
void |
FeedbackMediator.receiveMessage(AgentID sender,
Action arguments)
This method is called when an observable action is performed.
|
void |
FeedbackHillClimber.receiveMessage(AgentID sender,
Action arguments)
This method is called when an observable action is performed.
|
void |
EnumeratorParty.receiveMessage(AgentID sender,
Action arguments) |
void |
CounterOfferHumanNegotiationParty.receiveMessage(AgentID sender,
Action arguments) |
void |
ConsensusVotingHumanAgent.receiveMessage(AgentID sender,
Action arguments) |
void |
Annealer.receiveMessage(AgentID sender,
Action arguments)
This method is called when an observable action is performed.
|
void |
AcceptingNegotiationParty.receiveMessage(AgentID sender,
Action arguments)
We ignore any messages received.
|
void |
AbstractTimeDependentNegotiationParty.receiveMessage(AgentID sender,
Action arguments)
This method is called when an observable action is performed.
|
void |
AbstractNegotiationParty.receiveMessage(AgentID sender,
Action arguments) |
Modifier and Type | Method and Description |
---|---|
Action |
UINegotiationParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions) |
Action |
TimeoutNegotiationParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
If offer was proposed: Accept offer, otherwise: Propose random offer
|
Action |
RandomFlippingMediator.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
When this class 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 |
RandomFiftyFiftyNegotiationParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
If placing offers: do random offer if voting: accept/reject with a 50%
chance on both
|
Action |
RandomCounterOfferNegotiationParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
If placing offers: do random offer if voting: accept/reject with a 50%
chance on both
|
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 |
NegotiationEndingParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
If offer was proposed: Accept offer, otherwise: Propose random offer
|
Action |
MediatorHumanNegotiationParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions) |
Action |
HillClimber.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
When this class 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 |
FeedbackMediator.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
When this class 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 |
FeedbackHillClimber.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
When this class 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 |
EnumeratorParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions) |
Action |
CounterOfferHumanNegotiationParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions) |
Action |
ConsensusVotingHumanAgent.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions) |
Action |
Annealer.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
When this class 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 |
AcceptingNegotiationParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
If offer was proposed: Accept offer, otherwise: Propose random offer
|
Action |
AbstractTimeDependentNegotiationParty.chooseAction(java.util.List<java.lang.Class<? extends Action>> possibleActions)
When this class 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 |
---|---|
void |
MultilateralProtocolAdapter.applyAction(Action action,
Session session)
Apply the action according to the protocol.
|
void |
MultilateralProtocol.applyAction(Action action,
Session session)
Apply the action according to the protocol.
|
void |
MediatorFeedbackProtocol.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 |
AlternatingOfferConsensusProtocol.createTurn(NegotiationPartyInternal party,
java.lang.Class<? extends Action> class1)
factory function.
|
Turn |
AlternatingOfferConsensusProtocol.createTurn(NegotiationPartyInternal votingParty,
java.util.Collection<java.lang.Class<? extends Action>> acceptOrReject)
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.ArrayList<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 |
---|
Turn(NegotiationPartyInternal party,
java.util.Collection<java.lang.Class<? extends Action>> validActions)
Initializes a new instance of the turn class.
|