Package | Description |
---|---|
edu.usc.ict.iago.agent | |
edu.usc.ict.iago.utils |
Modifier and Type | Method and Description |
---|---|
protected Event |
RepeatedFavorMessage.getFavorBehavior(History history,
GameSpec game,
Event e) |
protected Event |
IAGOCoreMessage.getFavorBehavior(History history,
GameSpec game,
Event e) |
Event |
RepeatedFavorMessage.getVerboseMessageResponse(History history,
GameSpec game,
Event ePrime) |
Event |
IAGODefaultMessage.getVerboseMessageResponse(History history,
GameSpec game,
Event e)
Deprecated.
|
protected Event |
AgentUtilsExtension.lastEvent(java.util.LinkedList<Event> history,
Event.EventClass type)
Returns the last event of type type, or null if nothing found.
|
protected Event |
AgentUtilsExtension.lastEventReceived(java.util.LinkedList<Event> history,
Event.EventClass type)
Returns the last event of type type that was received, or null if nothing found.
|
protected Event |
AgentUtilsExtension.secondLastEvent(java.util.LinkedList<Event> history,
Event.EventClass type)
Returns the second to last event of type type, or null if nothing found.
|
Modifier and Type | Method and Description |
---|---|
java.util.LinkedList<Event> |
IAGOCoreVH.getEventResponse(Event e)
Agents work by responding to various events.
|
Modifier and Type | Method and Description |
---|---|
java.util.LinkedList<Event> |
IAGOCoreVH.getEventResponse(Event e)
Agents work by responding to various events.
|
protected Event |
RepeatedFavorMessage.getFavorBehavior(History history,
GameSpec game,
Event e) |
protected Event |
IAGOCoreMessage.getFavorBehavior(History history,
GameSpec game,
Event e) |
Event |
RepeatedFavorMessage.getVerboseMessageResponse(History history,
GameSpec game,
Event ePrime) |
Event |
IAGODefaultMessage.getVerboseMessageResponse(History history,
GameSpec game,
Event e)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Event |
AgentUtilsExtension.lastEvent(java.util.LinkedList<Event> history,
Event.EventClass type)
Returns the last event of type type, or null if nothing found.
|
protected Event |
AgentUtilsExtension.lastEventReceived(java.util.LinkedList<Event> history,
Event.EventClass type)
Returns the last event of type type that was received, or null if nothing found.
|
protected Event |
AgentUtilsExtension.secondLastEvent(java.util.LinkedList<Event> history,
Event.EventClass type)
Returns the second to last event of type type, or null if nothing found.
|
Modifier and Type | Field and Description |
---|---|
(package private) java.util.LinkedList<Event> |
VHRunner.eventList |
Modifier and Type | Method and Description |
---|---|
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
|
(package private) Event |
NegotiationRoom.preProcessEvent(Event e) |
(package private) Event |
Mediator.takeForAgent()
Takes an Event from the queue so that the VHRunner can use the Event.
|
Modifier and Type | Method and Description |
---|---|
abstract java.util.LinkedList<Event> |
GeneralVH.getEventResponse(Event e)
Returns a list of all Events that the VH decides to enact in response to the incoming Event.
|
java.util.LinkedList<Event> |
History.getHistory()
Returns a LinkedList of events that either negotiator has caused (i.e., the total history).
|
java.util.LinkedList<Event> |
History.getOpponentHistory()
Returns a LinkedList of events that the opponent VH has caused (i.e., the opponent history).
|
java.util.LinkedList<Event> |
History.getOpponentHistory(int agentID)
This method is to be called by an agent to determine its adversary's history of events.
|
java.util.LinkedList<Event> |
History.getUserHistory()
Returns a LinkedList of events that the user or the user's VH has caused (i.e., the user history).
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
Mediator.addToAgent(Event e)
Adds an event to the queue to be sent to the corresponding agent.
|
abstract java.util.LinkedList<Event> |
GeneralVH.getEventResponse(Event e)
Returns a list of all Events that the VH decides to enact in response to the incoming Event.
|
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
|
(package private) Event |
NegotiationRoom.preProcessEvent(Event e) |
(package private) void |
GameBridgeUtils.processEvent(Event e,
javax.websocket.Session session)
Processes an individual event and adds appropriate events to the history and/or the queue to be sent to opposing agent
|
void |
NegotiationRoom.sendToOpponent(javax.servlet.http.HttpSession httpSession,
Event e) |
protected void |
History.updateHistory(Event e)
Adds an event to the total history and either opponent history or user history.
|