diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2011-03-29 19:11:34 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2011-03-29 19:11:34 -0700 |
commit | 02f7ede7c6d605ca58cbdd882d1818c7a274f5bc (patch) | |
tree | 79574a1c3a71344ee491c2dd1245fd3d384b2738 /src/sat | |
parent | 2b336851a2f748b213774094b96c7622f6001917 (diff) | |
download | abc-02f7ede7c6d605ca58cbdd882d1818c7a274f5bc.tar.gz abc-02f7ede7c6d605ca58cbdd882d1818c7a274f5bc.tar.bz2 abc-02f7ede7c6d605ca58cbdd882d1818c7a274f5bc.zip |
Added test package (new files).
Diffstat (limited to 'src/sat')
-rw-r--r-- | src/sat/bsat/satSolver.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sat/bsat/satSolver.c b/src/sat/bsat/satSolver.c index 1ad903c1..aa8c7f08 100644 --- a/src/sat/bsat/satSolver.c +++ b/src/sat/bsat/satSolver.c @@ -1482,6 +1482,7 @@ int sat_solver_solve(sat_solver* s, lit* begin, lit* end, ABC_INT64_T nConfLimit } while (status == l_Undef){ +// int nConfs = 0; double Ratio = (s->stats.learnts == 0)? 0.0 : s->stats.learnts_literals / (double)s->stats.learnts; @@ -1500,7 +1501,11 @@ int sat_solver_solve(sat_solver* s, lit* begin, lit* end, ABC_INT64_T nConfLimit } nof_conflicts = (ABC_INT64_T)( 100 * luby(2, restart_iter++) ); //printf( "%d ", (int)nof_conflicts ); +// nConfs = s->stats.conflicts; status = sat_solver_search(s, nof_conflicts, nof_learnts); +// if ( status == l_True ) +// printf( "%d ", s->stats.conflicts - nConfs ); + // nof_conflicts = nof_conflicts * 3 / 2; //*= 1.5; nof_learnts = nof_learnts * 11 / 10; //*= 1.1; |