summaryrefslogtreecommitdiffstats
path: root/src/aig/gia/gia.h
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2017-11-13 21:49:52 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2017-11-13 21:49:52 -0800
commit203629fd0fa9453f756d31e94ed31284f2cbf206 (patch)
treef2e926c19e55ae8f10b156d2ad59c1748ddad3b1 /src/aig/gia/gia.h
parentd85bc1dd68afa94ad4625cfae3f59e5211253111 (diff)
downloadabc-203629fd0fa9453f756d31e94ed31284f2cbf206.tar.gz
abc-203629fd0fa9453f756d31e94ed31284f2cbf206.tar.bz2
abc-203629fd0fa9453f756d31e94ed31284f2cbf206.zip
Extracting CSAT interface and several cleanups.
Diffstat (limited to 'src/aig/gia/gia.h')
-rw-r--r--src/aig/gia/gia.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/aig/gia/gia.h b/src/aig/gia/gia.h
index e5e5b303..23363687 100644
--- a/src/aig/gia/gia.h
+++ b/src/aig/gia/gia.h
@@ -113,6 +113,7 @@ struct Gia_Man_t_
int fAddStrash; // performs additional structural hashing
int fSweeper; // sweeper is running
int fGiaSimple; // simple mode (no const-propagation and strashing)
+ Vec_Int_t vRefs; // the reference count
int * pRefs; // the reference count
int * pLutRefs; // the reference count
Vec_Int_t * vLevels; // levels of the nodes
@@ -1203,6 +1204,10 @@ extern Abc_Cex_t * Gia_ManCexExtendToIncludeAllObjects( Gia_Man_t * p, A
/*=== giaCsatOld.c ============================================================*/
extern Vec_Int_t * Cbs_ManSolveMiter( Gia_Man_t * pGia, int nConfs, Vec_Str_t ** pvStatus, int fVerbose );
/*=== giaCsat.c ============================================================*/
+typedef struct Cbs_Man_t_ Cbs_Man_t;
+extern Cbs_Man_t * Cbs_ManAlloc( Gia_Man_t * pGia );
+extern void Cbs_ManStop( Cbs_Man_t * p );
+extern int Cbs_ManSolve( Cbs_Man_t * p, Gia_Obj_t * pObj, Gia_Obj_t * pObj2 );
extern Vec_Int_t * Cbs_ManSolveMiterNc( Gia_Man_t * pGia, int nConfs, Vec_Str_t ** pvStatus, int fVerbose );
/*=== giaCTas.c ============================================================*/
extern Vec_Int_t * Tas_ManSolveMiterNc( Gia_Man_t * pGia, int nConfs, Vec_Str_t ** pvStatus, int fVerbose );