3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-26 13:06:05 +00:00

Remove clause methods that should not be used

This commit is contained in:
Jakob Rath 2022-12-12 11:47:27 +01:00
parent 5a27ae6b53
commit 9feefa4c0a
2 changed files with 0 additions and 18 deletions

View file

@ -28,20 +28,6 @@ namespace polysat {
return alloc(clause, std::move(literals));
}
bool clause::is_always_false(solver& s) const {
return all_of(m_literals, [&s](sat::literal lit) {
signed_constraint c = s.m_constraints.lookup(lit);
return c.is_always_false();
});
}
bool clause::is_currently_false(solver& s) const {
return all_of(m_literals, [&s](sat::literal lit) {
signed_constraint c = s.m_constraints.lookup(lit);
return c.is_currently_false(s);
});
}
std::ostream& clause::display(std::ostream& out) const {
bool first = true;
for (auto lit : *this) {