mirror of
https://github.com/Z3Prover/z3
synced 2025-10-09 09:21:56 +00:00
freevars cube cutoff
Signed-off-by: Miguel Angelo Da Terra Neves <t-mineve@microsoft.com>
This commit is contained in:
parent
427b5ef002
commit
1b7cb110d3
5 changed files with 46 additions and 9 deletions
|
@ -112,8 +112,21 @@ namespace sat {
|
|||
throw sat_param_exception("invalid reward type supplied: accepted heuristics are 'ternary', 'heuleu', 'unit' or 'heule_schur'");
|
||||
}
|
||||
|
||||
if (p.lookahead_cube_cutoff() == symbol("adaptive")) {
|
||||
m_lookahead_cube_cutoff = adaptive_cutoff;
|
||||
}
|
||||
else if (p.lookahead_cube_cutoff() == symbol("fixed_depth")) {
|
||||
m_lookahead_cube_cutoff = fixed_depth_cutoff;
|
||||
}
|
||||
else if (p.lookahead_cube_cutoff() == symbol("fixed_freevars")) {
|
||||
m_lookahead_cube_cutoff = fixed_freevars_cutoff;
|
||||
}
|
||||
else {
|
||||
throw sat_param_exception("invalid cutoff type supplied: accepted cutoffs are 'adaptive', 'fixed_depth', 'fixed_freevars'");
|
||||
}
|
||||
m_lookahead_cube_fraction = p.lookahead_cube_fraction();
|
||||
m_lookahead_cube_cutoff = p.lookahead_cube_cutoff();
|
||||
m_lookahead_cube_depth = p.lookahead_cube_depth();
|
||||
m_lookahead_cube_freevars = p.lookahead_cube_freevars();
|
||||
m_lookahead_global_autarky = p.lookahead_global_autarky();
|
||||
|
||||
// These parameters are not exposed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue