protected static class SingleStageNormalFormGame.NFGAgentAction extends SimpleSGAgentAction
actionName, domain
Constructor and Description |
---|
SingleStageNormalFormGame.NFGAgentAction(SGDomain d,
java.lang.String name,
SingleStageNormalFormGame.ActionNameMap[] actionNameToIndex) |
Modifier and Type | Method and Description |
---|---|
boolean |
applicableInState(State s,
GroundedSGAgentAction gsa)
Returns true if this action can be applied in the given state by the given agent with the given parameters.
|
getAllApplicableGroundedActions, getAssociatedGroundedAction, isParameterized
equals, getAllApplicableGroundedActionsFromActionList, hashCode
public SingleStageNormalFormGame.NFGAgentAction(SGDomain d, java.lang.String name, SingleStageNormalFormGame.ActionNameMap[] actionNameToIndex)
public boolean applicableInState(State s, GroundedSGAgentAction gsa)
SGAgentAction
applicableInState
in class SimpleSGAgentAction
s
- the state in which the action would be executed.gsa
- a GroundedSGAgentAction
containing the agent name and any parameters of the action