#include "cnf.h"#include "sat/bsat/satSolver.h"#include "sat/bsat/satSolver2.h"#include "misc/zlib/zlib.h"
Go to the source code of this file.
Functions | |
| Cnf_Man_t * | Cnf_ManStart () |
| FUNCTION DEFINITIONS ///. | |
| void | Cnf_ManStop (Cnf_Man_t *p) |
| Vec_Int_t * | Cnf_DataCollectPiSatNums (Cnf_Dat_t *pCnf, Aig_Man_t *p) |
| Cnf_Dat_t * | Cnf_DataAlloc (Aig_Man_t *pAig, int nVars, int nClauses, int nLiterals) |
| Cnf_Dat_t * | Cnf_DataDup (Cnf_Dat_t *p) |
| Cnf_Dat_t * | Cnf_DataDupCof (Cnf_Dat_t *p, int Lit) |
| Cnf_Dat_t * | Cnf_DataDupCofArray (Cnf_Dat_t *p, Vec_Int_t *vLits) |
| void | Cnf_DataFree (Cnf_Dat_t *p) |
| void | Cnf_DataLift (Cnf_Dat_t *p, int nVarsPlus) |
| void | Cnf_DataCollectFlipLits (Cnf_Dat_t *p, int iFlipVar, Vec_Int_t *vFlips) |
| void | Cnf_DataLiftAndFlipLits (Cnf_Dat_t *p, int nVarsPlus, Vec_Int_t *vLits) |
| void | Cnf_DataPrint (Cnf_Dat_t *p, int fReadable) |
| void | Cnf_DataWriteIntoFileGz (Cnf_Dat_t *p, char *pFileName, int fReadable, Vec_Int_t *vForAlls, Vec_Int_t *vExists) |
| void | Cnf_DataWriteIntoFileInvGz (Cnf_Dat_t *p, char *pFileName, int fReadable, Vec_Int_t *vExists1, Vec_Int_t *vForAlls, Vec_Int_t *vExists2) |
| void | Cnf_DataWriteIntoFile (Cnf_Dat_t *p, char *pFileName, int fReadable, Vec_Int_t *vForAlls, Vec_Int_t *vExists) |
| void | Cnf_DataWriteIntoFileInv (Cnf_Dat_t *p, char *pFileName, int fReadable, Vec_Int_t *vExists1, Vec_Int_t *vForAlls, Vec_Int_t *vExists2) |
| void * | Cnf_DataWriteIntoSolverInt (void *pSolver, Cnf_Dat_t *p, int nFrames, int fInit) |
| void * | Cnf_DataWriteIntoSolver (Cnf_Dat_t *p, int nFrames, int fInit) |
| void * | Cnf_DataWriteIntoSolver2 (Cnf_Dat_t *p, int nFrames, int fInit) |
| int | Cnf_DataWriteOrClause (void *p, Cnf_Dat_t *pCnf) |
| int | Cnf_DataWriteOrClause2 (void *p, Cnf_Dat_t *pCnf) |
| int | Cnf_DataWriteAndClauses (void *p, Cnf_Dat_t *pCnf) |
| void | Cnf_DataTranformPolarity (Cnf_Dat_t *pCnf, int fTransformPos) |
| int | Cnf_DataAddXorClause (void *pSat, int iVarA, int iVarB, int iVarC) |
| int Cnf_DataAddXorClause | ( | void * | pSat, |
| int | iVarA, | ||
| int | iVarB, | ||
| int | iVarC ) |
Function*************************************************************
Synopsis [Adds constraints for the two-input AND-gate.]
Description []
SideEffects []
SeeAlso []
Definition at line 804 of file cnfMan.c.

Function*************************************************************
Synopsis [Allocates the new CNF.]
Description []
SideEffects []
SeeAlso []
Definition at line 124 of file cnfMan.c.

Function*************************************************************
Synopsis [Returns the array of CI IDs.]
Description []
SideEffects []
SeeAlso []
Definition at line 104 of file cnfMan.c.

Function*************************************************************
Synopsis [Allocates the new CNF.]
Description []
SideEffects []
SeeAlso []
Definition at line 151 of file cnfMan.c.

Definition at line 178 of file cnfMan.c.


| void Cnf_DataFree | ( | Cnf_Dat_t * | p | ) |
| void Cnf_DataLift | ( | Cnf_Dat_t * | p, |
| int | nVarsPlus ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 232 of file cnfMan.c.

| void Cnf_DataPrint | ( | Cnf_Dat_t * | p, |
| int | fReadable ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 273 of file cnfMan.c.
| void Cnf_DataTranformPolarity | ( | Cnf_Dat_t * | pCnf, |
| int | fTransformPos ) |
Function*************************************************************
Synopsis [Transforms polarity of the internal veriables.]
Description []
SideEffects []
SeeAlso []
Definition at line 768 of file cnfMan.c.

| int Cnf_DataWriteAndClauses | ( | void * | p, |
| Cnf_Dat_t * | pCnf ) |
Function*************************************************************
Synopsis [Adds the OR-clause.]
Description []
SideEffects []
SeeAlso []
Definition at line 743 of file cnfMan.c.

| void Cnf_DataWriteIntoFile | ( | Cnf_Dat_t * | p, |
| char * | pFileName, | ||
| int | fReadable, | ||
| Vec_Int_t * | vForAlls, | ||
| Vec_Int_t * | vExists ) |
Function*************************************************************
Synopsis [Writes CNF into a file.]
Description []
SideEffects []
SeeAlso []
Definition at line 387 of file cnfMan.c.


| void Cnf_DataWriteIntoFileGz | ( | Cnf_Dat_t * | p, |
| char * | pFileName, | ||
| int | fReadable, | ||
| Vec_Int_t * | vForAlls, | ||
| Vec_Int_t * | vExists ) |
Function*************************************************************
Synopsis [Writes CNF into a file.]
Description []
SideEffects []
SeeAlso []
Definition at line 298 of file cnfMan.c.


| void Cnf_DataWriteIntoFileInv | ( | Cnf_Dat_t * | p, |
| char * | pFileName, | ||
| int | fReadable, | ||
| Vec_Int_t * | vExists1, | ||
| Vec_Int_t * | vForAlls, | ||
| Vec_Int_t * | vExists2 ) |
Definition at line 427 of file cnfMan.c.


| void Cnf_DataWriteIntoFileInvGz | ( | Cnf_Dat_t * | p, |
| char * | pFileName, | ||
| int | fReadable, | ||
| Vec_Int_t * | vExists1, | ||
| Vec_Int_t * | vForAlls, | ||
| Vec_Int_t * | vExists2 ) |
Definition at line 333 of file cnfMan.c.


| void * Cnf_DataWriteIntoSolver | ( | Cnf_Dat_t * | p, |
| int | nFrames, | ||
| int | fInit ) |
Function*************************************************************
Synopsis [Writes CNF into a file.]
Description []
SideEffects []
SeeAlso []
Definition at line 579 of file cnfMan.c.

| void * Cnf_DataWriteIntoSolver2 | ( | Cnf_Dat_t * | p, |
| int | nFrames, | ||
| int | fInit ) |
Function*************************************************************
Synopsis [Writes CNF into a file.]
Description []
SideEffects []
SeeAlso []
Definition at line 595 of file cnfMan.c.


| void * Cnf_DataWriteIntoSolverInt | ( | void * | pSolver, |
| Cnf_Dat_t * | p, | ||
| int | nFrames, | ||
| int | fInit ) |
Function*************************************************************
Synopsis [Writes CNF into a file.]
Description []
SideEffects []
SeeAlso []
Definition at line 486 of file cnfMan.c.


| int Cnf_DataWriteOrClause | ( | void * | p, |
| Cnf_Dat_t * | pCnf ) |
Function*************************************************************
Synopsis [Adds the OR-clause.]
Description []
SideEffects []
SeeAlso []
Definition at line 687 of file cnfMan.c.

| int Cnf_DataWriteOrClause2 | ( | void * | p, |
| Cnf_Dat_t * | pCnf ) |
Function*************************************************************
Synopsis [Adds the OR-clause.]
Description []
SideEffects []
SeeAlso []
Definition at line 715 of file cnfMan.c.


| Cnf_Man_t * Cnf_ManStart | ( | ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Starts the fraiging manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 51 of file cnfMan.c.


| void Cnf_ManStop | ( | Cnf_Man_t * | p | ) |
Function*************************************************************
Synopsis [Stops the fraiging manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 82 of file cnfMan.c.

