concepts.dm.pdsketch.csp_solvers.dpll_sampling.dpll_filter_deterministic_equal#
- dpll_filter_deterministic_equal(executor, constraints, assignments)[source]#
Filter the constraints to remove the ones that are determined to be equal.
- Parameters:
executor (PDSketchExecutor) – the executor.
constraints (List[Constraint | GroupConstraint | None]) – the list of constraints.
assignments (Dict[int, Assignment]) – the dictionary of assignments.
- Returns:
a tuple of (whether we have made progress, the list of constraints that have not been satisfied).
- Return type:
Tuple[bool, List[Constraint | GroupConstraint | None]]