diff options
Diffstat (limited to 'src/aig/int/intM114.c')
-rw-r--r-- | src/aig/int/intM114.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/aig/int/intM114.c b/src/aig/int/intM114.c index c1718eae..139c9bbd 100644 --- a/src/aig/int/intM114.c +++ b/src/aig/int/intM114.c @@ -200,7 +200,7 @@ sat_solver * Inter_ManDeriveSatSolver( SeeAlso [] ***********************************************************************/ -int Inter_ManPerformOneStep( Inter_Man_t * p, int fUseBias, int fUseBackward ) +int Inter_ManPerformOneStep( Inter_Man_t * p, int fUseBias, int fUseBackward, int nTimeNewOut ) { sat_solver * pSat; void * pSatCnf = NULL; @@ -219,6 +219,10 @@ int Inter_ManPerformOneStep( Inter_Man_t * p, int fUseBias, int fUseBackward ) return 1; } + // set runtime limit + if ( nTimeNewOut ) + sat_solver_set_runtime_limit( pSat, nTimeNewOut ); + // collect global variables pGlobalVars = ABC_CALLOC( int, sat_solver_nvars(pSat) ); Vec_IntForEachEntry( p->vVarsAB, Var, i ) |