projects
/
satune.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding checks to avoid further processing on UNSAT Problems
[satune.git]
/
src
/
ASTAnalyses
/
Encoding
/
encodinggraph.cc
diff --git
a/src/ASTAnalyses/Encoding/encodinggraph.cc
b/src/ASTAnalyses/Encoding/encodinggraph.cc
index 66d86062aa2d5a7c08513a80001b25a582b73f66..84166a88ddf6dd51773c04765f0e0107053e0a9b 100644
(file)
--- a/
src/ASTAnalyses/Encoding/encodinggraph.cc
+++ b/
src/ASTAnalyses/Encoding/encodinggraph.cc
@@
-113,7
+113,7
@@
void EncodingGraph::validate() {
void EncodingGraph::encode() {
void EncodingGraph::encode() {
- if (solver->getTuner()->getTunable(ENCODINGGRAPHOPT, &offon) == 0)
+ if (solver->
isUnSAT() || solver->
getTuner()->getTunable(ENCODINGGRAPHOPT, &offon) == 0)
return;
buildGraph();
SetIteratorEncodingSubGraph *itesg = subgraphs.iterator();
return;
buildGraph();
SetIteratorEncodingSubGraph *itesg = subgraphs.iterator();