concepts.pdsketch.planners.optimistic_search.instantiate_action#
- instantiate_action(csp, action)[source]#
Instantiate an action by replacing all placeholder values with a new optimistic variable.
- Parameters:
csp (ConstraintSatisfactionProblem) – the CSP to which the new optimistic variable will be added.
action (OperatorApplier) – the action to be instantiated.
- Returns:
the instantiated action.
- Return type: