public final class ConflictLearning extends Object implements SolverComponent
| Constructor and Description |
|---|
ConflictLearning() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyExplainUIP(MapClause explanationClause)
It builds the explanation clause made of all literals that were involved in
a conflict (ie which are in the clause and were asserted, or were
asserted and triggered, in another clause, the propagation of a literal
present in the current clause)
|
int |
getLevelToBackjump(MapClause explanationClause)
It computes to which level we should backjump to solve the conflict
explained by @param explanationClause
|
void |
initialize(Core core)
initializes the component with the given solver.
|
public int getLevelToBackjump(MapClause explanationClause)
explanationClause - used for backjumping computationpublic void applyExplainUIP(MapClause explanationClause)
explanationClause - the SetClause we use, which must be initialized
to the conflict clausepublic void initialize(Core core)
SolverComponentinitialize in interface SolverComponentcore - core component to initializeCopyright © 2022. All rights reserved.