summaryrefslogtreecommitdiff
path: root/src/theory/arith/theory_arith.cpp
diff options
context:
space:
mode:
authorLiana Hadarean <lianahady@gmail.com>2015-05-28 15:03:10 +0100
committerLiana Hadarean <lianahady@gmail.com>2015-05-28 15:03:10 +0100
commitb4aaa40ca834958130a8ee5a922ac45c6de84ce1 (patch)
treed0ce340446271c56909bcac8b1697ca18b7d5773 /src/theory/arith/theory_arith.cpp
parent3df7ea65b701a9ab054179af7efb4be120d280f2 (diff)
added options for controlling resource step-count for various solving stages
Diffstat (limited to 'src/theory/arith/theory_arith.cpp')
-rw-r--r--src/theory/arith/theory_arith.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/theory/arith/theory_arith.cpp b/src/theory/arith/theory_arith.cpp
index 7b5b40c8b..565c69514 100644
--- a/src/theory/arith/theory_arith.cpp
+++ b/src/theory/arith/theory_arith.cpp
@@ -18,6 +18,7 @@
#include "theory/arith/theory_arith.h"
#include "theory/arith/theory_arith_private.h"
#include "theory/arith/infer_bounds.h"
+#include "smt/options.h"
using namespace std;
using namespace CVC4::kind;
@@ -70,6 +71,7 @@ void TheoryArith::ppStaticLearn(TNode n, NodeBuilder<>& learned) {
}
void TheoryArith::check(Effort effortLevel){
+ getOutputChannel().spendResource(options::theoryCheckStep());
d_internal->check(effortLevel);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback