diff options
author | Kshitij Bansal <kshitij@cs.nyu.edu> | 2014-09-02 18:28:52 -0400 |
---|---|---|
committer | Kshitij Bansal <kshitij@cs.nyu.edu> | 2014-09-03 15:19:10 -0400 |
commit | 8dc1280a5161633fddfb8334811a86c911bb25c1 (patch) | |
tree | f4b100a3f70acc10e6ca05a1d4c28c659df0eafe /src/theory/uf/theory_uf.cpp | |
parent | e9fb730333b2719cddaa0a9209aa7953d7f30b0b (diff) |
check() optimization
Details of testing here:
http://church.cims.nyu.edu/wiki/User:Kshitij/theorycheckoptimization
Diffstat (limited to 'src/theory/uf/theory_uf.cpp')
-rw-r--r-- | src/theory/uf/theory_uf.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/theory/uf/theory_uf.cpp b/src/theory/uf/theory_uf.cpp index 0da8e8c32..4fcf4166b 100644 --- a/src/theory/uf/theory_uf.cpp +++ b/src/theory/uf/theory_uf.cpp @@ -89,6 +89,10 @@ static Node mkAnd(const std::vector<TNode>& conjunctions) { }/* mkAnd() */ void TheoryUF::check(Effort level) { + if (done() && !fullEffort(level)) { + return; + } + while (!done() && !d_conflict) { // Get all the assertions |