mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
fix build
This commit is contained in:
parent
1de25ed09c
commit
965bee5801
|
@ -87,7 +87,7 @@ namespace sat {
|
||||||
virtual void init_search() {}
|
virtual void init_search() {}
|
||||||
virtual bool propagated(sat::literal l, sat::ext_constraint_idx idx) { UNREACHABLE(); return false; }
|
virtual bool propagated(sat::literal l, sat::ext_constraint_idx idx) { UNREACHABLE(); return false; }
|
||||||
virtual bool unit_propagate() = 0;
|
virtual bool unit_propagate() = 0;
|
||||||
virtual bool should_propagate() { return false; }
|
virtual bool can_propagate() { return false; }
|
||||||
virtual bool is_external(bool_var v) { return false; }
|
virtual bool is_external(bool_var v) { return false; }
|
||||||
virtual double get_reward(literal l, ext_constraint_idx idx, literal_occs_fun& occs) const { return 0; }
|
virtual double get_reward(literal l, ext_constraint_idx idx, literal_occs_fun& occs) const { return 0; }
|
||||||
virtual void get_antecedents(literal l, ext_justification_idx idx, literal_vector & r, bool probing) = 0;
|
virtual void get_antecedents(literal l, ext_justification_idx idx, literal_vector & r, bool probing) = 0;
|
||||||
|
|
|
@ -1785,7 +1785,7 @@ namespace sat {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool solver::should_propagate() const {
|
bool solver::should_propagate() const {
|
||||||
return !inconsistent() && (m_qhead < m_trail.size() || (m_ext && m_ext->should_propagate()));
|
return !inconsistent() && (m_qhead < m_trail.size() || (m_ext && m_ext->can_propagate()));
|
||||||
}
|
}
|
||||||
|
|
||||||
lbool solver::final_check() {
|
lbool solver::final_check() {
|
||||||
|
|
|
@ -435,7 +435,7 @@ namespace euf {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool solver::should_propagate() {
|
bool solver::can_propagate() {
|
||||||
return m_egraph.can_propagate();
|
return m_egraph.can_propagate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -348,7 +348,7 @@ namespace euf {
|
||||||
bool is_external(bool_var v) override;
|
bool is_external(bool_var v) override;
|
||||||
bool propagated(literal l, ext_constraint_idx idx) override;
|
bool propagated(literal l, ext_constraint_idx idx) override;
|
||||||
bool unit_propagate() override;
|
bool unit_propagate() override;
|
||||||
bool should_propagate() override;
|
bool can_propagate() override;
|
||||||
bool should_research(sat::literal_vector const& core) override;
|
bool should_research(sat::literal_vector const& core) override;
|
||||||
void add_assumptions(sat::literal_set& assumptions) override;
|
void add_assumptions(sat::literal_set& assumptions) override;
|
||||||
bool tracking_assumptions() override;
|
bool tracking_assumptions() override;
|
||||||
|
|
Loading…
Reference in a new issue