summaryrefslogtreecommitdiffstats
path: root/src/sat/cnf/cnf.h
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2013-07-19 21:01:06 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2013-07-19 21:01:06 -0700
commit3d01abf481c0115beb5f2aea48ea9007a3e29c39 (patch)
treeb0c60b6cbd06b76b4745d675a19af7a01591cb33 /src/sat/cnf/cnf.h
parent35273eaebaf9b8594c30898dad055578dfa81538 (diff)
downloadabc-3d01abf481c0115beb5f2aea48ea9007a3e29c39.tar.gz
abc-3d01abf481c0115beb5f2aea48ea9007a3e29c39.tar.bz2
abc-3d01abf481c0115beb5f2aea48ea9007a3e29c39.zip
Experiment with 'pdr'.
Diffstat (limited to 'src/sat/cnf/cnf.h')
-rw-r--r--src/sat/cnf/cnf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sat/cnf/cnf.h b/src/sat/cnf/cnf.h
index e5079a46..ba41ef4e 100644
--- a/src/sat/cnf/cnf.h
+++ b/src/sat/cnf/cnf.h
@@ -63,6 +63,7 @@ struct Cnf_Dat_t_
int * pVarNums; // the number of CNF variable for each node ID (-1 if unused)
int * pObj2Clause; // the mapping of objects into clauses
int * pObj2Count; // the mapping of objects into clause number
+ unsigned char * pClaPols; // polarity of input literals in each clause
Vec_Int_t * vMapping; // mapping of internal nodes
};
@@ -176,6 +177,7 @@ extern Vec_Ptr_t * Aig_ManScanMapping( Cnf_Man_t * p, int fCollect );
extern Vec_Ptr_t * Cnf_ManScanMapping( Cnf_Man_t * p, int fCollect, int fPreorder );
extern Vec_Int_t * Cnf_DataCollectCiSatNums( Cnf_Dat_t * pCnf, Aig_Man_t * p );
extern Vec_Int_t * Cnf_DataCollectCoSatNums( Cnf_Dat_t * pCnf, Aig_Man_t * p );
+extern unsigned char * Cnf_DataDeriveLitPolarities( Cnf_Dat_t * p );
/*=== cnfWrite.c ========================================================*/
extern Vec_Int_t * Cnf_ManWriteCnfMapping( Cnf_Man_t * p, Vec_Ptr_t * vMapped );
extern void Cnf_SopConvertToVector( char * pSop, int nCubes, Vec_Int_t * vCover );