public interface GuiConfiguration
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<DeadlineType,java.lang.Object> |
getDeadlines()
Gets the deadline map
|
int |
getMediatorIndex()
Gets the mediator index in the agent list
|
PartyRepItem |
getMediatorItem()
Gets the mediator
|
ProfileRepItem |
getMediatorProfile()
Gets the mediator profile
|
int |
getNumAgentsPerSession()
Gets the number of agents per session
|
int |
getNumSessions()
Gets the number of negotiation sessions to run
|
java.util.List<PartyRepItem> |
getPartyItems()
Gets the list of party repository items.
|
java.util.List<ProfileRepItem> |
getPartyProfileItems()
Gets the list of profiles used by the parties
|
MultiPartyProtocolRepItem |
getProtocolItem()
Gets the protocol to run
|
boolean |
getRepetitionAllowed()
Gets whether repetition is allowed when generating combinations of agents.
|
java.lang.String |
getTournamentType()
Get the type of tournament
|
void |
setDeadlines(java.util.HashMap<DeadlineType,java.lang.Object> deadlines)
Sets the deadline map
|
void |
setMediatorIndex(int index)
Sets the mediator index in the agent list
|
void |
setMediatorItem(PartyRepItem mediatorItem)
Sets the mediator item
|
void |
setMediatorProfile(ProfileRepItem mediatorProfile)
Sets the mediator profile
|
void |
setNumAgentsPerSession(int numAgents)
Sets the number of agents per session
|
void |
setNumSessions(int numRounds)
Sets the number of negotiation sessions.
|
void |
setPartyItems(java.util.List<PartyRepItem> agents)
Sets the list of chosen parties
|
void |
setPartyProfileItems(java.util.List<ProfileRepItem> partyProfileItems)
Sets the list of profiles used by the parties
|
void |
setProtocolItem(MultiPartyProtocolRepItem protocolItem)
Sets the protocol to run.
|
void |
setRepetitionAllowed(boolean repetitionAllowed)
Sets whether repetition is allowed for generating sessions for the current agent
|
void |
setTournamentType(java.lang.String type)
Set the type of tournament
|
ProfileRepItem getMediatorProfile()
void setMediatorProfile(ProfileRepItem mediatorProfile)
mediatorProfile
- the mediator's profile rep item or null if not existingint getMediatorIndex()
void setMediatorIndex(int index)
index
- the index to usejava.util.HashMap<DeadlineType,java.lang.Object> getDeadlines()
void setDeadlines(java.util.HashMap<DeadlineType,java.lang.Object> deadlines)
deadlines
- a map of deadline keys and their valuesjava.util.List<PartyRepItem> getPartyItems()
void setPartyItems(java.util.List<PartyRepItem> agents)
agents
- the list of all chosen partiesPartyRepItem getMediatorItem()
void setMediatorItem(PartyRepItem mediatorItem)
mediatorItem
- the mediatorint getNumSessions()
void setNumSessions(int numRounds)
numRounds
- the number of sessionsjava.lang.String getTournamentType()
void setTournamentType(java.lang.String type)
type
- the type of tournamentMultiPartyProtocolRepItem getProtocolItem()
void setProtocolItem(MultiPartyProtocolRepItem protocolItem)
protocolItem
- the protocol to runjava.util.List<ProfileRepItem> getPartyProfileItems()
void setPartyProfileItems(java.util.List<ProfileRepItem> partyProfileItems)
partyProfileItems
- list of profiles used by the partiesint getNumAgentsPerSession()
void setNumAgentsPerSession(int numAgents)
numAgents
- number of agentsboolean getRepetitionAllowed()
void setRepetitionAllowed(boolean repetitionAllowed)
repetitionAllowed
- true if repetition is allowed