concepts.pdsketch.csp_solvers.dpll_sampling.dpll_filter_unused_rhs#

dpll_filter_unused_rhs(executor, constraints, assignments, index2record)[source]#

Filter out constraints that only appear once in the RHS of the constraints. In this case, the variable can be ignored and the related constraints can be removed.

Parameters:
Returns:

the list of constraints that have not been satisfied, after removing all unused variables.

Return type:

List[Constraint | GroupConstraint | None]