3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-18 02:16:40 +00:00

Sketch a skeleton of Difference Logic optimizer

This commit is contained in:
Anh-Dung Phan 2013-10-22 16:28:03 -07:00
parent 36d7948399
commit 6919f335a1
4 changed files with 89 additions and 6 deletions

View file

@ -996,5 +996,23 @@ void theory_diff_logic<Ext>::get_implied_bound_antecedents(edge_id bridge_edge,
m_graph.explain_subsumed_lazy(bridge_edge, subsumed_edge, f);
}
template<typename Ext>
bool theory_diff_logic<Ext>::maximize(theory_var v) {
NOT_IMPLEMENTED_YET();
return false;
}
template<typename Ext>
theory_var theory_diff_logic<Ext>::add_objective(app* term) {
// Internalizing may not succeed since objective can be LRA
return null_theory_var;
}
template<typename Ext>
inf_eps_rational<inf_rational> theory_diff_logic<Ext>::get_objective_value(theory_var v) {
inf_eps_rational<inf_rational> val(m_objective);
return val;
}
#endif /* _THEORY_DIFF_LOGIC_DEF_H_ */