concepts.pdsketch.crow.regression_utils.map_csp_placeholder_action#
- map_csp_placeholder_action(action, csp, placeholder_csp, cur_csp_variable_mapping, cur_reg_variable_mapping=None)[source]#
Map the CSP variables in the action to the CSP variables in the placeholder CSP.
- Parameters:
action (OperatorApplier) –
csp (ConstraintSatisfactionProblem) –
placeholder_csp (ConstraintSatisfactionProblem) –
cur_csp_variable_mapping (Dict[int, TensorValue]) –
- Return type: