summaryrefslogtreecommitdiff
path: root/src/theory/theory_engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/theory_engine.cpp')
-rw-r--r--src/theory/theory_engine.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/theory/theory_engine.cpp b/src/theory/theory_engine.cpp
index 2210caf6a..dd130e28a 100644
--- a/src/theory/theory_engine.cpp
+++ b/src/theory/theory_engine.cpp
@@ -234,6 +234,8 @@ TheoryEngine::TheoryEngine(context::Context* context,
d_inSatMode(false),
d_hasShutDown(false),
d_incomplete(context, false),
+ d_incompleteTheory(context, THEORY_BUILTIN),
+ d_incompleteId(context, IncompleteId::UNKNOWN),
d_propagationMap(context),
d_propagationMapTimestamp(context, 0),
d_propagatedLiterals(context),
@@ -1454,6 +1456,14 @@ void TheoryEngine::conflict(theory::TrustNode tconflict, TheoryId theoryId)
}
}
+void TheoryEngine::setIncomplete(theory::TheoryId theory,
+ theory::IncompleteId id)
+{
+ d_incomplete = true;
+ d_incompleteTheory = theory;
+ d_incompleteId = id;
+}
+
theory::TrustNode TheoryEngine::getExplanation(
std::vector<NodeTheoryPair>& explanationVector)
{
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback