concepts.dm.pdsketch.planners.optimistic_search.apply_action#

apply_action(executor, state, action, csp)[source]#

Apply an action to a state.

Parameters:
Returns:

a tuple of (goal test result, the updated state), and the updated CSP.

Return type:

Tuple[Tuple[bool, State], ConstraintSatisfactionProblem]