mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
Option to dump SMT queries as benchmarks during Spacer run
This commit is contained in:
parent
bebfac047e
commit
e2e1411707
|
@ -203,4 +203,6 @@ def_module_params('fixedpoint',
|
|||
('spacer.print_json', SYMBOL, '', 'print pobs tree in JSON format to a given file'),
|
||||
('spacer.ctp', BOOL, False, 'enable counterexample-to-pushing technique'),
|
||||
('spacer.use_inc_clause', BOOL, False, 'Use incremental clause to represent trans'),
|
||||
('spacer.dump_benchmarks', BOOL, False, 'Dump SMT queries as benchmarks'),
|
||||
('spacer.dump_threshold', DOUBLE, 5.0, 'Threshold in seconds on dumping benchmarks'),
|
||||
))
|
||||
|
|
|
@ -2342,13 +2342,12 @@ void context::init_global_smt_params() {
|
|||
}
|
||||
p.set_uint("random_seed", m_params.spacer_random_seed());
|
||||
|
||||
// fparams.m_dump_benchmarks = m_params.spacer_vs_dump_benchmarks();
|
||||
// fparams.m_dump_min_time = m_params.spacer_vs_dump_min_time();
|
||||
// fparams.m_dump_recheck = m_params.spacer_vs_recheck();
|
||||
p.set_bool("dump_benchmarks", m_params.spacer_dump_benchmarks());
|
||||
p.set_double("dump_threshold", m_params.spacer_dump_threshold());
|
||||
|
||||
|
||||
// mbqi
|
||||
p.set_bool("mbqi", m_params.spacer_mbqi());
|
||||
|
||||
if (!m_params.spacer_ground_cti()) {
|
||||
p.set_uint("phase_selection", PS_CACHING_CONSERVATIVE2);
|
||||
p.set_uint("restart_strategy", RS_GEOMETRIC);
|
||||
|
|
Loading…
Reference in a new issue