summaryrefslogtreecommitdiff
path: root/src/theory/uf/theory_uf.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-08-21 15:58:46 -0500
committerGitHub <noreply@github.com>2020-08-21 15:58:46 -0500
commit05c6ae0bda064083efb7941e1ceb0869cb1b1090 (patch)
treefb9497cf16421d7488b31bc7e702ea0826e61aa6 /src/theory/uf/theory_uf.cpp
parentb8301cde27c455c8da3e9017072a577a0816939b (diff)
Remove spurious theory methods calls (#4931)
This PR removes spurious theory method calls that are not implemented. It also renames a common "propagate(TNode lit)" pattern to "propagateLit(TNode lit)" to avoid confusion with "propagate(Effort e)".
Diffstat (limited to 'src/theory/uf/theory_uf.cpp')
-rw-r--r--src/theory/uf/theory_uf.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/theory/uf/theory_uf.cpp b/src/theory/uf/theory_uf.cpp
index 0b97d8a5d..29014d33f 100644
--- a/src/theory/uf/theory_uf.cpp
+++ b/src/theory/uf/theory_uf.cpp
@@ -261,11 +261,14 @@ void TheoryUF::preRegisterTerm(TNode node) {
}
}/* TheoryUF::preRegisterTerm() */
-bool TheoryUF::propagate(TNode literal) {
- Debug("uf::propagate") << "TheoryUF::propagate(" << literal << ")" << std::endl;
+bool TheoryUF::propagateLit(TNode literal)
+{
+ Debug("uf::propagate") << "TheoryUF::propagateLit(" << literal << ")"
+ << std::endl;
// If already in conflict, no more propagation
if (d_conflict) {
- Debug("uf::propagate") << "TheoryUF::propagate(" << literal << "): already in conflict" << std::endl;
+ Debug("uf::propagate") << "TheoryUF::propagateLit(" << literal
+ << "): already in conflict" << std::endl;
return false;
}
// Propagate out
@@ -276,12 +279,6 @@ bool TheoryUF::propagate(TNode literal) {
return ok;
}/* TheoryUF::propagate(TNode) */
-void TheoryUF::propagate(Effort effort) {
- //if (d_thss != NULL) {
- // return d_thss->propagate(effort);
- //}
-}
-
void TheoryUF::explain(TNode literal, std::vector<TNode>& assumptions, eq::EqProof* pf) {
// Do the work
bool polarity = literal.getKind() != kind::NOT;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback