public class ActionUtils extends java.lang.Object
|Constructor and Description|
|Modifier and Type||Method and Description|
public static java.util.List<Action> allApplicableActionsForTypes(java.util.List<ActionType> actionTypes, State s)
Actions that are applicable in the given
ActionTypeobjects 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 state
Listof all the
Actions for all
ActionTypein the list that are applicable in the given