Module logicng

Class 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
    • Constructor Detail

      • DRUPTrim

        public DRUPTrim()
    • 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 problem
        proof - the clauses of the proof
        Returns:
        the result of the DRUP execution from which the UNSAT core can be generated