- java.lang.Object
-
- org.logicng.explanations.drup.DRUPTrim
-
public final class DRUPTrim extends Object
Implementation of the DRUP-trim tool to check satisfiability proofs and perform trimming.- Since:
- 1.3
- Version:
- 1.3
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDRUPTrim.DRUPResultThe result of an DRUP execution.
-
Constructor Summary
Constructors Constructor Description DRUPTrim()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DRUPTrim.DRUPResultcompute(LNGVector<LNGIntVector> originalProblem, LNGVector<LNGIntVector> proof)Computes the DRUP result for a given problem in terms of original clauses and the generated proof.
-
-
-
Method Detail
-
compute
public DRUPTrim.DRUPResult compute(LNGVector<LNGIntVector> originalProblem, LNGVector<LNGIntVector> proof)
Computes the DRUP result for a given problem in terms of original clauses and the generated proof.- Parameters:
originalProblem- the clauses of the original problemproof- the clauses of the proof- Returns:
- the result of the DRUP execution from which the UNSAT core can be generated
-
-