diff options
author | Yen-Sheng Ho <ysho@berkeley.edu> | 2017-03-29 23:00:29 -0700 |
---|---|---|
committer | Yen-Sheng Ho <ysho@berkeley.edu> | 2017-03-29 23:00:29 -0700 |
commit | ecf91190d6a1dab0691ad03f42c816ec2788722b (patch) | |
tree | bb6889c4dd638d9fef82f268b33dd7140c1079b5 | |
parent | 4d479048319e714c636c3dbeb37ee90911ef4130 (diff) | |
download | abc-ecf91190d6a1dab0691ad03f42c816ec2788722b.tar.gz abc-ecf91190d6a1dab0691ad03f42c816ec2788722b.tar.bz2 abc-ecf91190d6a1dab0691ad03f42c816ec2788722b.zip |
added callbacks to sat solvers in pdr
-rw-r--r-- | src/proof/pdr/pdrCnf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/proof/pdr/pdrCnf.c b/src/proof/pdr/pdrCnf.c index 0553af3d..016830c3 100644 --- a/src/proof/pdr/pdrCnf.c +++ b/src/proof/pdr/pdrCnf.c @@ -370,6 +370,8 @@ static inline sat_solver * Pdr_ManNewSolver1( sat_solver * pSat, Pdr_Man_t * p, } pSat = (sat_solver *)Cnf_DataWriteIntoSolverInt( pSat, p->pCnf1, 1, fInit ); sat_solver_set_runtime_limit( pSat, p->timeToStop ); + pSat->RunId = p->pPars->RunId; + pSat->pFuncStop = p->pPars->pFuncStop; return pSat; } @@ -418,6 +420,8 @@ static inline sat_solver * Pdr_ManNewSolver2( sat_solver * pSat, Pdr_Man_t * p, // pSat = sat_solver_new(); sat_solver_setnvars( pSat, 500 ); sat_solver_set_runtime_limit( pSat, p->timeToStop ); + pSat->RunId = p->pPars->RunId; + pSat->pFuncStop = p->pPars->pFuncStop; return pSat; } |