abc-master
|
#include "satSolver.h"
Go to the source code of this file.
Data Structures | |
struct | Sto_Cls_t_ |
struct | Sto_Man_t_ |
Macros | |
#define | STO_MAX(a, b) ((a) > (b) ? (a) : (b)) |
INCLUDES ///. More... | |
#define | Sto_ManForEachClause(p, pCls) for( pCls = p->pHead; pCls; pCls = pCls->pNext ) |
#define | Sto_ManForEachClauseRoot(p, pCls) for( pCls = p->pHead; pCls && pCls->fRoot; pCls = pCls->pNext ) |
Typedefs | |
typedef struct Sto_Cls_t_ | Sto_Cls_t |
BASIC TYPES ///. More... | |
typedef struct Sto_Man_t_ | Sto_Man_t |
typedef struct Int_Man_t_ | Int_Man_t |
typedef struct Inta_Man_t_ | Inta_Man_t |
typedef struct Intb_Man_t_ | Intb_Man_t |
typedef struct Intp_Man_t_ | Intp_Man_t |
Definition at line 99 of file satStore.h.
#define Sto_ManForEachClauseRoot | ( | p, | |
pCls | |||
) | for( pCls = p->pHead; pCls && pCls->fRoot; pCls = pCls->pNext ) |
Definition at line 100 of file satStore.h.
#define STO_MAX | ( | a, | |
b | |||
) | ((a) > (b) ? (a) : (b)) |
INCLUDES ///.
CFile****************************************************************
FileName [satStore.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Proof recording.]
Synopsis [External declarations.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]PARAMETERS ///
Definition at line 48 of file satStore.h.
typedef struct Int_Man_t_ Int_Man_t |
Definition at line 123 of file satStore.h.
typedef struct Inta_Man_t_ Inta_Man_t |
Definition at line 130 of file satStore.h.
typedef struct Intb_Man_t_ Intb_Man_t |
Definition at line 136 of file satStore.h.
typedef struct Intp_Man_t_ Intp_Man_t |
Definition at line 142 of file satStore.h.
typedef struct Sto_Cls_t_ Sto_Cls_t |
BASIC TYPES ///.
Definition at line 67 of file satStore.h.
typedef struct Sto_Man_t_ Sto_Man_t |
Definition at line 81 of file satStore.h.
Int_Man_t* Int_ManAlloc | ( | ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Allocate proof manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 107 of file satInter.c.
void Int_ManFree | ( | Int_Man_t * | p | ) |
Function*************************************************************
Synopsis [Deallocate proof manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 273 of file satInter.c.
Function*************************************************************
Synopsis [Computes interpolant for the given CNF.]
Description [Returns the number of common variable found and interpolant. Returns 0, if something did not work.]
SideEffects []
SeeAlso []
Definition at line 1005 of file satInter.c.
int* Int_ManSetGlobalVars | ( | Int_Man_t * | p, |
int | nGloVars | ||
) |
Function*************************************************************
Synopsis [Allocate proof manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 133 of file satInter.c.
Inta_Man_t* Inta_ManAlloc | ( | ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Allocate proof manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 106 of file satInterA.c.
void Inta_ManFree | ( | Inta_Man_t * | p | ) |
Function*************************************************************
Synopsis [Deallocate proof manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 250 of file satInterA.c.
void* Inta_ManInterpolate | ( | Inta_Man_t * | p, |
Sto_Man_t * | pCnf, | ||
abctime | TimeToStop, | ||
void * | vVarsAB, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Computes interpolant for the given CNF.]
Description [Takes the interpolation manager, the CNF deriving by the SAT solver, which includes ClausesA, ClausesB, and learned clauses. Additional arguments are the vector of variables common to AB and the verbosiness flag. Returns the AIG manager with a single output, containing the interpolant.]
SideEffects []
SeeAlso []
Definition at line 944 of file satInterA.c.
Intb_Man_t* Intb_ManAlloc | ( | ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Allocate proof manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 110 of file satInterB.c.
void Intb_ManFree | ( | Intb_Man_t * | p | ) |
Function*************************************************************
Synopsis [Deallocate proof manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 255 of file satInterB.c.
void* Intb_ManInterpolate | ( | Intb_Man_t * | p, |
Sto_Man_t * | pCnf, | ||
void * | vVarsAB, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Computes interpolant for the given CNF.]
Description [Takes the interpolation manager, the CNF deriving by the SAT solver, which includes ClausesA, ClausesB, and learned clauses. Additional arguments are the vector of variables common to AB and the verbosiness flag. Returns the AIG manager with a single output, containing the interpolant.]
SideEffects []
SeeAlso []
Definition at line 987 of file satInterB.c.
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_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_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 [Adds one clause to the manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 160 of file satStore.c.
Sto_Man_t* Sto_ManAlloc | ( | ) |
MACRO DEFINITIONS ///.
FUNCTION DECLARATIONS ///
Function*************************************************************
Synopsis [Allocate proof manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 121 of file satStore.c.
int Sto_ManChangeLastClause | ( | Sto_Man_t * | p | ) |
Function*************************************************************
Synopsis [Returns the literal of the last clause.]
Description []
SideEffects []
SeeAlso []
Definition at line 279 of file satStore.c.
void Sto_ManDumpClauses | ( | Sto_Man_t * | p, |
char * | pFileName | ||
) |
Function*************************************************************
Synopsis [Writes the stored clauses into a file.]
Description []
SideEffects []
SeeAlso []
Definition at line 305 of file satStore.c.
void Sto_ManFree | ( | Sto_Man_t * | p | ) |
Function*************************************************************
Synopsis [Deallocate proof manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 143 of file satStore.c.
Sto_Man_t* Sto_ManLoadClauses | ( | char * | pFileName | ) |
Function*************************************************************
Synopsis [Reads CNF from file.]
Description []
SideEffects []
SeeAlso []
Definition at line 384 of file satStore.c.
void Sto_ManMarkClausesA | ( | Sto_Man_t * | p | ) |
Function*************************************************************
Synopsis [Mark all clauses added so far as clause of A.]
Description []
SideEffects []
SeeAlso []
Definition at line 257 of file satStore.c.
void Sto_ManMarkRoots | ( | Sto_Man_t * | p | ) |
Function*************************************************************
Synopsis [Mark all clauses added so far as root clauses.]
Description []
SideEffects []
SeeAlso []
Definition at line 235 of file satStore.c.
int Sto_ManMemoryReport | ( | Sto_Man_t * | p | ) |
Function*************************************************************
Synopsis [Reports memory usage in bytes.]
Description []
SideEffects []
SeeAlso []
Definition at line 97 of file satStore.c.