diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-06-04 10:48:12 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-06-04 10:48:12 -0700 |
commit | 8075db7a0d5b6983464214b29bafc5fc8db15e66 (patch) | |
tree | 111bd77b4bd367db569829cc07a730b682bbc71e /src/proof/cec | |
parent | a8b2024efa8bfae6783182381edf1e6f3f746fb3 (diff) | |
download | abc-8075db7a0d5b6983464214b29bafc5fc8db15e66.tar.gz abc-8075db7a0d5b6983464214b29bafc5fc8db15e66.tar.bz2 abc-8075db7a0d5b6983464214b29bafc5fc8db15e66.zip |
Adding CEC command &splitprove.
Diffstat (limited to 'src/proof/cec')
-rw-r--r-- | src/proof/cec/cecSplit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/proof/cec/cecSplit.c b/src/proof/cec/cecSplit.c index ba4aa453..e8319159 100644 --- a/src/proof/cec/cecSplit.c +++ b/src/proof/cec/cecSplit.c @@ -221,7 +221,6 @@ static inline sat_solver * Cec_GiaDeriveSolver( Gia_Man_t * p, int nTimeOut ) } static inline int Cnf_GiaSolveOne( Gia_Man_t * p, int nTimeOut, int fVerbose, int * pnVars, int * pnConfs ) { - static int Counter = 0; sat_solver * pSat = Cec_GiaDeriveSolver( p, nTimeOut ); int status = sat_solver_solve( pSat, NULL, NULL, (ABC_INT64_T)0, (ABC_INT64_T)0, (ABC_INT64_T)0, (ABC_INT64_T)0 ); *pnVars = sat_solver_nvars( pSat ); @@ -385,7 +384,7 @@ int Cec_GiaSplitTest( Gia_Man_t * p, int nTimeOut, int fVerbose ) } fSatUnsat = (fSatUnsat == Vec_PtrSize(vStack)); if ( fSatUnsat ) - Progress += 1.0 / (Depth + 1); + Progress += 1.0 / pow(2, Depth + 1); if ( fVerbose ) Cec_GiaSplitPrint( nIter, Depth, nSatVars, nSatConfs, fSatUnsat, Progress, Abc_Clock() - clk ); // if ( Vec_PtrSize(vStack) > 2 ) |