Package | Description |
---|---|
edu.usc.ict.iago.agent | |
edu.usc.ict.iago.utils | |
edu.usc.ict.iago.views |
The Views package contains a variety of key features designed to communicate the core IAGO code.
|
Modifier and Type | Method and Description |
---|---|
protected GameSpec |
AgentUtilsExtension.getSpec()
returns the GameSpec being used in the current game.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AgentUtilsExtension.configureGame(GameSpec game)
Configures initial parameters for the given game.
|
protected int |
AgentUtilsExtension.findAdversaryIdealWorst(GameSpec game)
Finds the adversary's lowest ranked item in the most ideal ordering
|
(package private) int |
AgentUtilsExtension.findAdversaryItemIndex(GameSpec game,
int num)
Finds the position on the board (1 through num issues) of an item with a particular ranking for the agent's adversary.
|
(package private) java.lang.String |
AgentUtilsExtension.findMyItem(int order,
GameSpec game)
Finds the name of an item that's ranked a certain way by the agent.
|
(package private) int |
AgentUtilsExtension.findMyItemIndex(GameSpec game,
int num)
Finds the position on the board (1 through num issues) of an item with a particular ranking for current agent
|
java.lang.String |
RepeatedFavorMessage.getAcceptLang(History history,
GameSpec game) |
java.lang.String |
IAGODefaultMessage.getAcceptLang(History history,
GameSpec game)
Deprecated.
|
protected Event |
RepeatedFavorMessage.getFavorBehavior(History history,
GameSpec game,
Event e) |
protected Event |
IAGOCoreMessage.getFavorBehavior(History history,
GameSpec game,
Event e) |
boolean |
RepeatedFavorMessage.getLying(GameSpec game) |
protected boolean |
IAGOCoreMessage.getLying(GameSpec game) |
int |
AgentUtilsExtension.getLyingBATNA(GameSpec game,
double lieThreshold,
boolean liar)
Finds the BATNA of an agent, takes into consideration whether it's lying or not
|
java.lang.String |
RepeatedFavorMessage.getMessageResponse(History history,
GameSpec game) |
java.lang.String |
IAGODefaultMessage.getMessageResponse(History history,
GameSpec game)
Deprecated.
|
java.lang.String |
RepeatedFavorMessage.getProposalLang(History history,
GameSpec game) |
java.lang.String |
IAGODefaultMessage.getProposalLang(History history,
GameSpec game)
Deprecated.
|
java.lang.String |
RepeatedFavorMessage.getRejectLang(History history,
GameSpec game) |
java.lang.String |
IAGODefaultMessage.getRejectLang(History history,
GameSpec game)
Deprecated.
|
Event |
RepeatedFavorMessage.getVerboseMessageResponse(History history,
GameSpec game,
Event ePrime) |
Event |
IAGODefaultMessage.getVerboseMessageResponse(History history,
GameSpec game,
Event e)
Deprecated.
|
java.lang.String |
RepeatedFavorMessage.getVHAcceptLang(History history,
GameSpec game) |
java.lang.String |
IAGODefaultMessage.getVHAcceptLang(History history,
GameSpec game)
Deprecated.
|
java.lang.String |
RepeatedFavorMessage.getVHRejectLang(History history,
GameSpec game) |
java.lang.String |
IAGODefaultMessage.getVHRejectLang(History history,
GameSpec game)
Deprecated.
|
java.lang.String |
RepeatedFavorMessage.getWaitingLang(History history,
GameSpec game) |
protected java.lang.String |
IAGOCoreMessage.getWaitingLang(History history,
GameSpec game) |
protected static java.lang.String |
IAGOCoreMessage.prefToEnglish(Preference preference,
GameSpec game) |
Constructor and Description |
---|
IAGOCoreVH(java.lang.String name,
GameSpec game,
javax.websocket.Session session,
IAGOCoreBehavior behavior,
IAGOCoreExpression expression,
IAGOCoreMessage messages)
Constructor for most VHs used by IAGO.
|
IAGOGastonFavorVH(java.lang.String name,
GameSpec game,
javax.websocket.Session session) |
IAGOGothelFavorVH(java.lang.String name,
GameSpec game,
javax.websocket.Session session) |
IAGOJiminyFavorVH(java.lang.String name,
GameSpec game,
javax.websocket.Session session) |
Modifier and Type | Field and Description |
---|---|
protected GameSpec |
GeneralNegotiator.game |
(package private) GameSpec |
Mediator.spec |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
MessagePolicy.getAcceptLang(History history,
GameSpec game)
Returns the language to use when the VH offer is accepted, given a history.
|
java.lang.String |
MessagePolicy.getMessageResponse(History history,
GameSpec game)
Deprecated.
|
java.lang.String |
MessagePolicy.getProposalLang(History history,
GameSpec game)
Returns the language to use when making a proposal, given a history.
|
java.lang.String |
MessagePolicy.getRejectLang(History history,
GameSpec game)
Returns the language to use when the VH offer is rejected, given a history.
|
Event |
MessagePolicy.getVerboseMessageResponse(History history,
GameSpec game,
Event e)
Gives the message response to a particular event in a history in the form of an event
|
java.lang.String |
MessagePolicy.getVHAcceptLang(History history,
GameSpec game)
Returns the language to use when the Player offer is accepted, given a history.
|
java.lang.String |
MessagePolicy.getVHRejectLang(History history,
GameSpec game)
Returns the language to use when the Player offer is rejected, given a history.
|
(package private) void |
Mediator.setGameSpec(GameSpec newSpec)
Changes the GameSpec of the Mediator.
|
void |
GeneralNegotiator.setGameSpec(GameSpec spec)
sets the GameSpec used by the negotiator.
|
void |
GameBridgeUtils.setGameSpec(GameSpec spec)
Changes the game spec and resets several variables.
|
Constructor and Description |
---|
GameBridgeUtils(GameSpec spec)
Constructor for GameBridgeUtils.
|
GeneralNegotiator(java.lang.String username,
GameSpec game,
javax.websocket.Session session)
Constructor for GeneralUser
|
GeneralVH(java.lang.String username,
GameSpec game,
javax.websocket.Session session)
Creates a generic agent, which must pass through its username, associated game, and session.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
Competition2018GameSpecPart1 |
(package private) class |
Competition2018GameSpecPart2 |
(package private) class |
Competition2018GameSpecPart3 |
(package private) class |
ResourceGameSpec |