public class ActionUtils
extends java.lang.Object
Action
and ActionType
operations.Constructor and Description |
---|
ActionUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<Action> |
allApplicableActionsForTypes(java.util.List<ActionType> actionTypes,
State s)
Returns all
Action s that are applicable in the given State for all ActionType objects in the provided list. |
public static java.util.List<Action> allApplicableActionsForTypes(java.util.List<ActionType> actionTypes, State s)
Action
s that are applicable in the given State
for all ActionType
objects in the provided list. This method
operates by calling the ActionType.allApplicableActions(State)
method on each action and adding all the results
to a list that is then returned.actionTypes
- The list of all actions for which grounded actions should be returned.s
- the stateList
of all the Action
s for all ActionType
in the list that are applicable in the given State