public DRUPResult compute ( final LNGVector < LNGIntVector > originalProblem , final LNGVector < LNGIntVector > proof ) { final DRUPResult result = new DRUPResult ( ) ; Solver s = new Solver ( originalProblem , proof ) ; boolean parseReturnValue = s . parse ( ) ; if ( ! parseReturnValue ) { result . trivialUnsat = true ; result . unsatCore = new LNGVector <> ( ) ; } else { result . trivialUnsat = false ; result . unsatCore = s . verify ( ) ; } return result ; }
Computes the DRUP result for a given problem in terms of original clauses and the generated proof .