Package | Description |
---|---|
negotiator.analysis | |
negotiator.events | |
negotiator.logging | |
negotiator.parties | |
negotiator.protocol | |
negotiator.session | |
negotiator.tournament |
Constructor and Description |
---|
MultilateralAnalysis(Session session,
java.util.List<NegotiationPartyInternal> parties,
MultilateralProtocol protocol) |
Modifier and Type | Method and Description |
---|---|
Session |
MultipartyNegotiationSessionEvent.getSession() |
Constructor and Description |
---|
AgreementEvent(java.lang.Object source,
Session s,
MultilateralProtocol pr,
java.util.List<NegotiationPartyInternal> pa,
double time) |
MultipartyNegotiationSessionEvent(java.lang.Object source,
Session session,
Bid agreement) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
CsvLogger.getDefaultSessionLog(Session session,
MultilateralProtocol protocol,
java.util.List<NegotiationPartyInternal> parties,
double runTime)
Log default session information.
|
void |
SessionLogger.logBid(Session session,
java.util.List<NegotiationPartyInternal> parties,
boolean agree)
Log the sessions most recent action as an offer.
|
void |
SessionLogger.logSession(Session session,
Bid agreement)
General session log.
|
static java.lang.String |
CsvLogger.logSingleSession(Session session,
MultilateralProtocol protocol,
java.util.List<NegotiationPartyInternal> parties,
double runTime) |
Modifier and Type | Method and Description |
---|---|
Session |
NegotiationPartyInternal.getSession()
Get the session that this party is using.
|
Constructor and Description |
---|
NegotiationPartyInternal(PartyRepItem partyRepItem,
ProfileRepItem profileRepItem,
Session session,
AgentID agentID)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
MultilateralProtocolAdapter.afterSession(Session session,
java.util.List<NegotiationPartyInternal> parties)
This will get called just after ending the session.
|
void |
MultilateralProtocol.afterSession(Session session,
java.util.List<NegotiationPartyInternal> parties)
This will get called just after ending the session.
|
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 |
StackedAlternatingOffersProtocol.beforeSession(Session session,
java.util.List<NegotiationPartyInternal> parties) |
void |
MultilateralProtocolAdapter.beforeSession(Session session,
java.util.List<NegotiationPartyInternal> parties)
This will get called just before the session starts.
|
void |
MultilateralProtocol.beforeSession(Session session,
java.util.List<NegotiationPartyInternal> parties)
This will get called just before the session starts.
|
void |
MediatorFeedbackProtocol.beforeSession(Session session,
java.util.List<NegotiationPartyInternal> parties)
Before each session we'd like to inform the mediator of the number of
parties
|
Bid |
StackedAlternatingOffersProtocol.getCurrentAgreement(Session session,
java.util.List<NegotiationPartyInternal> parties)
Will return the current agreement.
|
Bid |
SimpleMediatorBasedProtocol.getCurrentAgreement(Session session,
java.util.List<NegotiationPartyInternal> parties)
Returns the last offer for voting as the current agreement.
|
Bid |
MultilateralProtocolAdapter.getCurrentAgreement(Session session,
java.util.List<NegotiationPartyInternal> parties)
This method should return the current agreement.
|
Bid |
MultilateralProtocol.getCurrentAgreement(Session session,
java.util.List<NegotiationPartyInternal> parties)
This method should return the current agreement.
|
Bid |
MediatorFeedbackProtocol.getCurrentAgreement(Session session,
java.util.List<NegotiationPartyInternal> parties)
Returns the most recent agreement found by the mediator.
|
Bid |
AlternatingOfferMajorityVotingProtocol.getCurrentAgreement(Session session,
java.util.List<NegotiationPartyInternal> parties)
Gets the most recent agreement.
|
Bid |
AlternatingOfferConsensusProtocol.getCurrentAgreement(Session session,
java.util.List<NegotiationPartyInternal> parties)
Gets the current agreement if any.
|
int |
StackedAlternatingOffersProtocol.getNumberOfAgreeingParties(Session session,
java.util.List<NegotiationPartyInternal> parties) |
int |
MultilateralProtocolAdapter.getNumberOfAgreeingParties(Session session,
java.util.List<NegotiationPartyInternal> parties)
Gets the number of parties that currently agree to the offer.
|
int |
MultilateralProtocol.getNumberOfAgreeingParties(Session session,
java.util.List<NegotiationPartyInternal> parties)
Gets the number of parties that currently agree to the offer.
|
int |
AlternatingOfferMajorityVotingProtocol.getNumberOfAgreeingParties(Session session,
java.util.List<NegotiationPartyInternal> parties)
Gets the number of parties that currently agree to the offer.
|
int |
AlternatingOfferConsensusProtocol.getNumberOfAgreeingParties(Session session,
java.util.List<NegotiationPartyInternal> parties)
Gets the maximum number of vote this protocol found.
|
Round |
StackedAlternatingOffersProtocol.getRoundStructure(java.util.List<NegotiationPartyInternal> parties,
Session session)
Defines the round structure.
|
Round |
SimpleMediatorBasedProtocol.getRoundStructure(java.util.List<NegotiationPartyInternal> parties,
Session session)
Get the structure of the current round.
|
Round |
MultilateralProtocolAdapter.getRoundStructure(java.util.List<NegotiationPartyInternal> parties,
Session session)
Get the structure of the current round.
|
Round |
MultilateralProtocol.getRoundStructure(java.util.List<NegotiationPartyInternal> parties,
Session session)
Get the structure of the current round.
|
Round |
MediatorFeedbackProtocol.getRoundStructure(java.util.List<NegotiationPartyInternal> parties,
Session session)
Get the structure of the current round.
|
Round |
AlternatingOfferMajorityVotingProtocol.getRoundStructure(java.util.List<NegotiationPartyInternal> parties,
Session session)
Get the structure of the current round.
|
Round |
AlternatingOfferConsensusProtocol.getRoundStructure(java.util.List<NegotiationPartyInternal> parties,
Session session)
Get the round structure used by this algorithm.
|
boolean |
StackedAlternatingOffersProtocol.isFinished(Session session,
java.util.List<NegotiationPartyInternal> parties)
If all agents accept the most recent offer, then this negotiation ends.
|
boolean |
MultilateralProtocolAdapter.isFinished(Session session,
java.util.List<NegotiationPartyInternal> parties)
Check if the protocol is done or still busy.
|
boolean |
MultilateralProtocol.isFinished(Session session,
java.util.List<NegotiationPartyInternal> parties)
Check if the protocol is done or still busy.
|
boolean |
MediatorFeedbackProtocol.isFinished(Session session,
java.util.List<NegotiationPartyInternal> parties)
Check if the protocol is done or still busy.
|
boolean |
AlternatingOfferMajorityVotingProtocol.isFinished(Session session,
java.util.List<NegotiationPartyInternal> parties)
Check if the protocol is done or still busy.
|
boolean |
AlternatingOfferConsensusProtocol.isFinished(Session session,
java.util.List<NegotiationPartyInternal> parties)
Check if the protocol is done or still busy.
|
Modifier and Type | Method and Description |
---|---|
Session |
Session.copy() |
Constructor and Description |
---|
SessionManager(java.util.List<NegotiationPartyInternal> parties,
MultilateralProtocol protocol,
Session session,
ExecutorWithTimeout exec)
Initializes a new instance of the
SessionManager object. |
Modifier and Type | Method and Description |
---|---|
static NegotiationPartyInternal |
TournamentGenerator.createFrom(PartyRepItem partyRepItem,
Domain domain,
UTILITYSPACETYPE type,
Session session)
Creates a new Party from repository items
|
protected static NegotiationPartyInternal |
TournamentGenerator.generateMediator(PartyRepItem mediatorRepItem,
ProfileRepItem mediatorProfileRepItem,
ProfileRepItem alternativeProfileRepItem,
Session session)
Generates a mediator Party from the given information
|
static java.util.List<NegotiationPartyInternal> |
TournamentGenerator.generateSessionParties(java.util.List<java.lang.Integer> partyIndices,
java.util.List<PartyRepItem> partyRepItems,
java.util.List<ProfileRepItem> profileRepItems,
java.util.List<AgentID> partyIds,
int mediatorIndex,
PartyRepItem mediatorRepItem,
ProfileRepItem mediatorProfileRepItem,
Session session)
Generate the list of parties in the given session
|
static java.util.List<NegotiationPartyInternal> |
TournamentGenerator.generateSessionParties(java.util.List<PartyRepItem> partyRepItems,
java.util.List<ProfileRepItem> profileRepItems,
java.util.List<AgentID> partyIds,
int mediatorIndex,
PartyRepItem mediatorRepItem,
ProfileRepItem mediatorProfileRepItem,
Session session)
Generate the list of parties in the given session
|