Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Martin Jonáš
BVExprSimplifier
Commits
6ec5f9ea
Commit
6ec5f9ea
authored
Apr 16, 2017
by
Martin Jonas
Browse files
Change the output format.
parent
cec68bcd
Changes
3
Hide whitespace changes
Inline
Side-by-side
ExprSimplifier.cpp
View file @
6ec5f9ea
...
...
@@ -98,7 +98,7 @@ expr ExprSimplifier::Simplify(expr expression)
if
(
DEBUG
)
{
UnconstrainedVariableSimplifier
unconstrainedSimplifier
(
*
context
,
expression
);
unconstrainedSimplifier
.
PrintUnconstrained
();
//
unconstrainedSimplifier.PrintUnconstrained();
}
pushNegationsCache
.
clear
();
...
...
UnconstrainedVariableSimplifier.cpp
View file @
6ec5f9ea
...
...
@@ -229,7 +229,7 @@ void UnconstrainedVariableSimplifier::SimplifyIte()
if
(
!
anyUnconstrained
)
{
PrintUnconstrained
();
//
PrintUnconstrained();
return
;
}
...
...
@@ -265,7 +265,7 @@ void UnconstrainedVariableSimplifier::SimplifyIte()
i
++
;
}
PrintUnconstrained
();
//
PrintUnconstrained();
}
z3
::
expr
UnconstrainedVariableSimplifier
::
simplifyOnce
(
expr
e
,
std
::
vector
<
BoundVar
>
boundVars
,
bool
isPositive
=
true
)
...
...
main.cpp
View file @
6ec5f9ea
...
...
@@ -169,5 +169,6 @@ int main(int argc, char* argv[])
std
::
cout
<<
"(set-logic BV)"
<<
std
::
endl
;
//std::cout << s.to_smt2() << std::endl;
std
::
cout
<<
s
<<
std
::
endl
;
std
::
cout
<<
"(check-sat)"
<<
std
::
endl
;
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment