#include <stdio.h>#include <stdlib.h>#include <string.h>#include <assert.h>#include "satStore.h"#include "misc/vec/vec.h"
Go to the source code of this file.
Classes | |
| struct | Intp_Man_t_ |
Functions | |
| Intp_Man_t * | Intp_ManAlloc () |
| FUNCTION DEFINITIONS ///. | |
| void | Intp_ManResize (Intp_Man_t *p) |
| void | Intp_ManFree (Intp_Man_t *p) |
| void | Intp_ManPrintClause (Intp_Man_t *p, Sto_Cls_t *pClause) |
| void | Intp_ManPrintResolvent (lit *pResLits, int nResLits) |
| void | Intp_ManPrintInterOne (Intp_Man_t *p, Sto_Cls_t *pClause) |
| Sto_Cls_t * | Intp_ManPropagate (Intp_Man_t *p, int Start) |
| void | Intp_ManProofWriteOne (Intp_Man_t *p, Sto_Cls_t *pClause) |
| int | Intp_ManProofTraceOne (Intp_Man_t *p, Sto_Cls_t *pConflict, Sto_Cls_t *pFinal) |
| int | Intp_ManProofRecordOne (Intp_Man_t *p, Sto_Cls_t *pClause) |
| int | Intp_ManProcessRoots (Intp_Man_t *p) |
| void | Intp_ManUnsatCoreVerify (Sto_Man_t *pCnf, Vec_Int_t *vCore) |
| void | Intp_ManUnsatCore_rec (Vec_Ptr_t *vAntClas, int iThis, Vec_Int_t *vCore, int nRoots, Vec_Str_t *vVisited, int fLearned) |
| void * | Intp_ManUnsatCore (Intp_Man_t *p, Sto_Man_t *pCnf, int fLearned, int fVerbose) |
| void | Intp_ManUnsatCorePrintForBmc (FILE *pFile, Sto_Man_t *pCnf, void *vCore0, void *vVarMap0) |
| Intp_Man_t * Intp_ManAlloc | ( | ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Allocate proof manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 96 of file satInterP.c.


| void Intp_ManFree | ( | Intp_Man_t * | p | ) |
Function*************************************************************
Synopsis [Deallocate proof manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 178 of file satInterP.c.

| void Intp_ManPrintClause | ( | Intp_Man_t * | p, |
| Sto_Cls_t * | pClause ) |
Function*************************************************************
Synopsis [Prints the clause.]
Description []
SideEffects []
SeeAlso []
Definition at line 215 of file satInterP.c.

| void Intp_ManPrintInterOne | ( | Intp_Man_t * | p, |
| Sto_Cls_t * | pClause ) |
Function*************************************************************
Synopsis [Prints the interpolant for one clause.]
Description []
SideEffects []
SeeAlso []
Definition at line 255 of file satInterP.c.
| void Intp_ManPrintResolvent | ( | lit * | pResLits, |
| int | nResLits ) |
Function*************************************************************
Synopsis [Prints the resolvent.]
Description []
SideEffects []
SeeAlso []
Definition at line 235 of file satInterP.c.

| int Intp_ManProcessRoots | ( | Intp_Man_t * | p | ) |
Function*************************************************************
Synopsis [Propagate the root clauses.]
Description []
SideEffects []
SeeAlso []
Definition at line 782 of file satInterP.c.


| int Intp_ManProofRecordOne | ( | Intp_Man_t * | p, |
| Sto_Cls_t * | pClause ) |
Function*************************************************************
Synopsis [Records the proof for one clause.]
Description []
SideEffects []
SeeAlso []
Definition at line 668 of file satInterP.c.


| int Intp_ManProofTraceOne | ( | Intp_Man_t * | p, |
| Sto_Cls_t * | pConflict, | ||
| Sto_Cls_t * | pFinal ) |
Function*************************************************************
Synopsis [Traces the proof for one clause.]
Description []
SideEffects []
SeeAlso []
Definition at line 473 of file satInterP.c.


| void Intp_ManProofWriteOne | ( | Intp_Man_t * | p, |
| Sto_Cls_t * | pClause ) |
Function*************************************************************
Synopsis [Writes one root clause into a file.]
Description []
SideEffects []
SeeAlso []
Definition at line 448 of file satInterP.c.

| Sto_Cls_t * Intp_ManPropagate | ( | Intp_Man_t * | p, |
| int | Start ) |
Function*************************************************************
Synopsis [Propagate the current assignments.]
Description []
SideEffects []
SeeAlso []
Definition at line 418 of file satInterP.c.

| void Intp_ManResize | ( | Intp_Man_t * | p | ) |
Function*************************************************************
Synopsis [Resize proof manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 127 of file satInterP.c.


| void * Intp_ManUnsatCore | ( | Intp_Man_t * | p, |
| Sto_Man_t * | pCnf, | ||
| int | fLearned, | ||
| int | fVerbose ) |
Function*************************************************************
Synopsis [Computes UNSAT core of the satisfiablity problem.]
Description [Takes the interpolation manager, the CNF derived by the SAT solver, which includes the root clauses and the learned clauses. Returns the array of integers representing the number of root clauses that are in the UNSAT core.]
SideEffects []
SeeAlso []
Definition at line 963 of file satInterP.c.


| void Intp_ManUnsatCore_rec | ( | Vec_Ptr_t * | vAntClas, |
| int | iThis, | ||
| Vec_Int_t * | vCore, | ||
| int | nRoots, | ||
| Vec_Str_t * | vVisited, | ||
| int | fLearned ) |
Function*************************************************************
Synopsis [Recursively computes the UNSAT core.]
Description []
SideEffects []
SeeAlso []
Definition at line 919 of file satInterP.c.


| void Intp_ManUnsatCorePrintForBmc | ( | FILE * | pFile, |
| Sto_Man_t * | pCnf, | ||
| void * | vCore0, | ||
| void * | vVarMap0 ) |
Function*************************************************************
Synopsis [Prints learned clauses in terms of original problem varibles.]
Description []
SideEffects []
SeeAlso []
Definition at line 1059 of file satInterP.c.

Function*************************************************************
Synopsis [Verifies the UNSAT core.]
Description [Takes the interpolation manager, the CNF derived by the SAT solver, which includes the root clauses and the learned clauses. Returns the array of integers representing the number of root clauses that are in the UNSAT core.]
SideEffects []
SeeAlso []
Definition at line 859 of file satInterP.c.
