Package | Description |
---|---|
genius.core | |
genius.core.boaframework | |
genius.core.exceptions | |
genius.core.parties | |
genius.core.protocol | |
genius.core.repository | |
genius.core.repository.boa | |
genius.core.session |
Modifier and Type | Class and Description |
---|---|
class |
Agent
A basic negotiation agent.
|
class |
AgentAdapter
Adapts
Agent to the NegotiationParty so that legacy agents
can be run in the new multiparty system. |
Modifier and Type | Class and Description |
---|---|
class |
BOAagent
This class describes a basic decoupled agent.
|
class |
BoaParty
This class is used to convert a BOA party to a real agent.
|
Modifier and Type | Field and Description |
---|---|
protected NegotiationParty |
NegotiationPartyTimeoutException.instigator |
Modifier and Type | Method and Description |
---|---|
NegotiationParty |
NegotiationPartyTimeoutException.getInstigator() |
Constructor and Description |
---|
NegotiationPartyTimeoutException(NegotiationParty instigator) |
NegotiationPartyTimeoutException(NegotiationParty instigator,
java.lang.String message) |
NegotiationPartyTimeoutException(NegotiationParty instigator,
java.lang.String message,
java.lang.Throwable cause) |
NegotiationPartyTimeoutException(NegotiationParty instigator,
java.lang.Throwable cause) |
Modifier and Type | Interface and Description |
---|---|
interface |
Mediator
Base class for all mediator parties.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractNegotiationParty
A basic implementation of the
NegotiationParty interface. |
Modifier and Type | Method and Description |
---|---|
NegotiationParty |
NegotiationPartyInternal.getParty() |
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
receiveMessage(AgentID, Action) . |
java.util.Map<NegotiationParty,java.util.List<Action>> |
DefaultMultilateralProtocol.beforeSession(Session session,
java.util.List<NegotiationParty> parties) |
java.util.Collection<NegotiationParty> |
DefaultMultilateralProtocol.exclude(java.util.Collection<NegotiationParty> negotiationParties,
java.lang.Class negotiationPartyClass)
Filters the list by including only the type of negotiation parties.
|
java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
StackedAlternatingOffersProtocol.getActionListeners(java.util.List<NegotiationParty> parties)
Get a map of parties that are listening to each other.
|
java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
StackedAlternatingOffersProtocol.getActionListeners(java.util.List<NegotiationParty> parties)
Get a map of parties that are listening to each other.
|
java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
SimpleMediatorBasedProtocol.getActionListeners(java.util.List<NegotiationParty> parties) |
java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
SimpleMediatorBasedProtocol.getActionListeners(java.util.List<NegotiationParty> parties) |
java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
MultilateralProtocol.getActionListeners(java.util.List<NegotiationParty> parties)
Get a map of parties that are listening to each other's response.
|
java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
MultilateralProtocol.getActionListeners(java.util.List<NegotiationParty> parties)
Get a map of parties that are listening to each other's response.
|
java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
MediatorFeedbackBasedProtocol.getActionListeners(java.util.List<NegotiationParty> parties) |
java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
MediatorFeedbackBasedProtocol.getActionListeners(java.util.List<NegotiationParty> parties) |
java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
DefaultMultilateralProtocol.getActionListeners(java.util.List<NegotiationParty> parties)
Get a map of parties that are listening to each other's response
|
java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
DefaultMultilateralProtocol.getActionListeners(java.util.List<NegotiationParty> parties)
Get a map of parties that are listening to each other's response
|
java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
AlternatingMultipleOffersProtocol.getActionListeners(java.util.List<NegotiationParty> parties) |
java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
AlternatingMultipleOffersProtocol.getActionListeners(java.util.List<NegotiationParty> parties) |
static java.util.List<NegotiationParty> |
MediatorProtocol.getNonMediators(java.util.List<NegotiationParty> parties)
Get the non-mediator parties.
|
java.util.Collection<NegotiationParty> |
DefaultMultilateralProtocol.includeOnly(java.util.Collection<NegotiationParty> negotiationParties,
java.lang.Class negotiationPartyClass)
Filters the list by including only the type of negotiation parties.
|
protected static java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
DefaultMultilateralProtocol.listenToAll(java.util.List<NegotiationParty> parties) |
protected static java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
DefaultMultilateralProtocol.listenToAll(java.util.List<NegotiationParty> parties) |
protected static java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
DefaultMultilateralProtocol.listenToNone(java.util.List<NegotiationParty> parties) |
protected static java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
DefaultMultilateralProtocol.listenToNone(java.util.List<NegotiationParty> parties) |
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 |
---|---|
void |
MultilateralProtocol.afterSession(Session session,
java.util.List<NegotiationParty> parties)
This will get called just after ending the session.
|
void |
DefaultMultilateralProtocol.afterSession(Session session,
java.util.List<NegotiationParty> parties) |
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
receiveMessage(AgentID, Action) . |
java.util.Map<NegotiationParty,java.util.List<Action>> |
DefaultMultilateralProtocol.beforeSession(Session session,
java.util.List<NegotiationParty> parties) |
java.util.Collection<NegotiationParty> |
DefaultMultilateralProtocol.exclude(java.util.Collection<NegotiationParty> negotiationParties,
java.lang.Class negotiationPartyClass)
Filters the list by including only the type of negotiation parties.
|
java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
StackedAlternatingOffersProtocol.getActionListeners(java.util.List<NegotiationParty> parties)
Get a map of parties that are listening to each other.
|
java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
SimpleMediatorBasedProtocol.getActionListeners(java.util.List<NegotiationParty> parties) |
java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
MultilateralProtocol.getActionListeners(java.util.List<NegotiationParty> parties)
Get a map of parties that are listening to each other's response.
|
java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
MediatorFeedbackBasedProtocol.getActionListeners(java.util.List<NegotiationParty> parties) |
java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
DefaultMultilateralProtocol.getActionListeners(java.util.List<NegotiationParty> parties)
Get a map of parties that are listening to each other's response
|
java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
AlternatingMultipleOffersProtocol.getActionListeners(java.util.List<NegotiationParty> parties) |
Bid |
StackedAlternatingOffersProtocol.getCurrentAgreement(Session session,
java.util.List<NegotiationParty> parties)
Will return the current agreement.
|
Bid |
SimpleMediatorBasedProtocol.getCurrentAgreement(Session session,
java.util.List<NegotiationParty> parties)
Returns the last offer for voting as the current agreement.
|
Bid |
MultilateralProtocol.getCurrentAgreement(Session session,
java.util.List<NegotiationParty> parties)
This method should return the current agreement.
|
Bid |
MediatorFeedbackBasedProtocol.getCurrentAgreement(Session session,
java.util.List<NegotiationParty> parties)
Returns the last offer that got accepted.
|
Bid |
DefaultMultilateralProtocol.getCurrentAgreement(Session session,
java.util.List<NegotiationParty> parties)
This method should return the current agreement.
|
Bid |
AlternatingMultipleOffersProtocol.getCurrentAgreement(Session session,
java.util.List<NegotiationParty> parties)
Gets the current agreement if any.
|
static Mediator |
MediatorProtocol.getMediator(java.util.List<NegotiationParty> parties)
Returns the first mediator from a list of parties
|
static java.util.List<NegotiationParty> |
MediatorProtocol.getNonMediators(java.util.List<NegotiationParty> parties)
Get the non-mediator parties.
|
int |
StackedAlternatingOffersProtocol.getNumberOfAgreeingParties(Session session,
java.util.List<NegotiationParty> parties) |
int |
MultilateralProtocol.getNumberOfAgreeingParties(Session session,
java.util.List<NegotiationParty> parties)
Gets the number of parties that currently agree to the offer.
|
int |
DefaultMultilateralProtocol.getNumberOfAgreeingParties(Session session,
java.util.List<NegotiationParty> parties)
Gets the number of parties that currently agree to the offer.
|
int |
AlternatingMultipleOffersProtocol.getNumberOfAgreeingParties(Session session,
java.util.List<NegotiationParty> parties)
Gets the maximum number of vote this protocol found.
|
Round |
StackedAlternatingOffersProtocol.getRoundStructure(java.util.List<NegotiationParty> parties,
Session session)
Defines the round structure.
|
Round |
SimpleMediatorBasedProtocol.getRoundStructure(java.util.List<NegotiationParty> parties,
Session session) |
Round |
MultilateralProtocol.getRoundStructure(java.util.List<NegotiationParty> parties,
Session session)
Get the structure of the current round.
|
Round |
MediatorFeedbackBasedProtocol.getRoundStructure(java.util.List<NegotiationParty> parties,
Session session) |
Round |
DefaultMultilateralProtocol.getRoundStructure(java.util.List<NegotiationParty> parties,
Session session) |
Round |
AlternatingMultipleOffersProtocol.getRoundStructure(java.util.List<NegotiationParty> parties,
Session session)
Get the round structure used by this algorithm.
|
java.util.Collection<NegotiationParty> |
DefaultMultilateralProtocol.includeOnly(java.util.Collection<NegotiationParty> negotiationParties,
java.lang.Class negotiationPartyClass)
Filters the list by including only the type of negotiation parties.
|
boolean |
StackedAlternatingOffersProtocol.isFinished(Session session,
java.util.List<NegotiationParty> parties)
If all agents accept the most recent offer, then this negotiation ends.
|
boolean |
MultilateralProtocol.isFinished(Session session,
java.util.List<NegotiationParty> parties)
Check if the protocol is done or still busy.
|
boolean |
DefaultMultilateralProtocol.isFinished(Session session,
java.util.List<NegotiationParty> parties) |
boolean |
AlternatingMultipleOffersProtocol.isFinished(Session session,
java.util.List<NegotiationParty> parties) |
boolean |
AlternatingMajorityConsensusProtocol.isFinished(Session session,
java.util.List<NegotiationParty> parties) |
protected static java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
DefaultMultilateralProtocol.listenToAll(java.util.List<NegotiationParty> parties) |
protected static java.util.Map<NegotiationParty,java.util.List<NegotiationParty>> |
DefaultMultilateralProtocol.listenToNone(java.util.List<NegotiationParty> parties) |
Modifier and Type | Method and Description |
---|---|
protected NegotiationParty |
PartyRepItem.init()
Init our fields to cache the party information.
|
protected NegotiationParty |
ParticipantRepItem.init()
Init our fields to cache the party information.
|
NegotiationParty |
PartyRepItem.load() |
abstract NegotiationParty |
ParticipantRepItem.load() |
Modifier and Type | Method and Description |
---|---|
NegotiationParty |
BoaPartyRepItem.load() |
Modifier and Type | Method and Description |
---|---|
NegotiationParty |
InvalidActionError.getInstigator()
Gets the party that did an invalid action
|
NegotiationParty |
Turn.getParty()
Get the party which should execute 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. |
Turn(NegotiationParty party)
Initializes a new instance of the turn class.
|
Turn(NegotiationParty party,
java.lang.Class<? extends Action>... validActions)
Initializes a new instance of the turn class.
|
Turn(NegotiationParty party,
java.util.Collection<java.lang.Class<? extends Action>> validActions)
Initializes a new instance of the turn class.
|