summaryrefslogtreecommitdiffstats
path: root/src/opt/mfs/mfsMan.c
diff options
context:
space:
mode:
authorBaruch Sterin <baruchs@gmail.com>2011-01-13 22:42:54 +0200
committerBaruch Sterin <baruchs@gmail.com>2011-01-13 22:42:54 +0200
commitab80b015a4efdf196334aafc19d589d48778f0bb (patch)
tree0a4af678193d4d84de98d0ecb0e141c17fa8ae87 /src/opt/mfs/mfsMan.c
parent811f5631a812968ccdbe157549f2445747053d50 (diff)
parentae4b51351c93983a1285ce1028e3bbd90a6d5721 (diff)
downloadabc-ab80b015a4efdf196334aafc19d589d48778f0bb.tar.gz
abc-ab80b015a4efdf196334aafc19d589d48778f0bb.tar.bz2
abc-ab80b015a4efdf196334aafc19d589d48778f0bb.zip
merge changes from main branch
Diffstat (limited to 'src/opt/mfs/mfsMan.c')
-rw-r--r--src/opt/mfs/mfsMan.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/opt/mfs/mfsMan.c b/src/opt/mfs/mfsMan.c
index 74889c45..df331b43 100644
--- a/src/opt/mfs/mfsMan.c
+++ b/src/opt/mfs/mfsMan.c
@@ -49,14 +49,15 @@ Mfs_Man_t * Mfs_ManAlloc( Mfs_Par_t * pPars )
p = ABC_ALLOC( Mfs_Man_t, 1 );
memset( p, 0, sizeof(Mfs_Man_t) );
p->pPars = pPars;
- p->vProjVars = Vec_IntAlloc( 100 );
+ p->vProjVarsCnf = Vec_IntAlloc( 100 );
+ p->vProjVarsSat = Vec_IntAlloc( 100 );
p->vDivLits = Vec_IntAlloc( 100 );
p->nDivWords = Aig_BitWordNum(p->pPars->nDivMax + MFS_FANIN_MAX);
p->vDivCexes = Vec_PtrAllocSimInfo( p->pPars->nDivMax+MFS_FANIN_MAX+1, p->nDivWords );
p->pMan = Int_ManAlloc();
p->vMem = Vec_IntAlloc( 0 );
p->vLevels = Vec_VecStart( 32 );
- p->vFanins = Vec_PtrAlloc( 32 );
+ p->vMfsFanins= Vec_PtrAlloc( 32 );
return p;
}
@@ -201,8 +202,9 @@ void Mfs_ManStop( Mfs_Man_t * p )
Int_ManFree( p->pMan );
Vec_IntFree( p->vMem );
Vec_VecFree( p->vLevels );
- Vec_PtrFree( p->vFanins );
- Vec_IntFree( p->vProjVars );
+ Vec_PtrFree( p->vMfsFanins );
+ Vec_IntFree( p->vProjVarsCnf );
+ Vec_IntFree( p->vProjVarsSat );
Vec_IntFree( p->vDivLits );
Vec_PtrFree( p->vDivCexes );
ABC_FREE( p );