summaryrefslogtreecommitdiff
path: root/src/prop
diff options
context:
space:
mode:
Diffstat (limited to 'src/prop')
-rw-r--r--src/prop/prop_engine.cpp4
-rw-r--r--src/prop/prop_engine.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/src/prop/prop_engine.cpp b/src/prop/prop_engine.cpp
index 5b71e5ec5..58270b4d0 100644
--- a/src/prop/prop_engine.cpp
+++ b/src/prop/prop_engine.cpp
@@ -247,6 +247,10 @@ void PropEngine::pop() {
Debug("prop") << "pop()" << endl;
}
+unsigned PropEngine::getAssertionLevel() const {
+ return d_satSolver->getAssertionLevel();
+}
+
bool PropEngine::isRunning() const {
return d_inCheckSat;
}
diff --git a/src/prop/prop_engine.h b/src/prop/prop_engine.h
index 9e49cf3f1..603cdb0e6 100644
--- a/src/prop/prop_engine.h
+++ b/src/prop/prop_engine.h
@@ -246,6 +246,11 @@ public:
void pop();
/**
+ * Get the assertion level of the SAT solver.
+ */
+ unsigned getAssertionLevel() const;
+
+ /**
* Return true if we are currently searching (either in this or
* another thread).
*/
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback