concepts.dm.pdsketch.planners.optimistic_search.ground_actions#
- ground_actions(executor, actions, assignments)[source]#
Ground a list of actions with a given assignment to the underlying CSP. Basically, this function looks up the assigned value of each optimistic variable that appear in action parameters.
- Parameters:
executor (PDSketchExecutor) – the executor.
actions (Sequence[OperatorApplier]) – the list of actions to be grounded.
assignments (Dict[int, Assignment]) – the solution to the underlying CSP.
- Returns:
the grounded actions.
- Return type: