public interface ActionIdMap
Modifier and Type | Method and Description |
---|---|
GroundedSGAgentAction |
getActionForId(int id)
Returns a corresponding GroundedSingleAction for a given int value
|
int |
getActionId(GroundedSGAgentAction gsa)
Returns an int value corresponding to the input action
|
int |
getActionId(java.lang.String actionName,
java.lang.String[] params)
Returns an int value corresponding to the input action name and parameters
|
int |
maxValue()
The maximum number of int values for actions
|
int getActionId(GroundedSGAgentAction gsa)
gsa
- the input actionint getActionId(java.lang.String actionName, java.lang.String[] params)
actionName
- the input action nameparams
- the input action parametersint maxValue()
GroundedSGAgentAction getActionForId(int id)
id
- the int value indicating which GroundedSingleAction to return.