summaryrefslogtreecommitdiff
path: root/src/theory/theory_model.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/theory_model.cpp')
-rw-r--r--src/theory/theory_model.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/theory/theory_model.cpp b/src/theory/theory_model.cpp
index 40a64cb35..1543739e0 100644
--- a/src/theory/theory_model.cpp
+++ b/src/theory/theory_model.cpp
@@ -681,6 +681,18 @@ bool TheoryModel::areDisequal(TNode a, TNode b)
}
}
+bool TheoryModel::hasUfTerms(Node f) const
+{
+ return d_uf_terms.find(f) != d_uf_terms.end();
+}
+
+const std::vector<Node>& TheoryModel::getUfTerms(Node f) const
+{
+ const auto it = d_uf_terms.find(f);
+ Assert(it != d_uf_terms.end());
+ return it->second;
+}
+
bool TheoryModel::areFunctionValuesEnabled() const
{
return d_enableFuncModels;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback