concepts.dm.crow.csp_solver.csp_utils.csp_ground_action_list#
- csp_ground_action_list(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 (CrowExecutor) – the executor.
actions (Sequence[CrowControllerApplier]) – the list of actions to be grounded.
assignments (Dict[int, Assignment]) – the solution to the underlying CSP.
- Returns:
the list of grounded actions.
- Return type: