diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2013-05-14 12:11:14 -0500 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2013-05-14 12:11:14 -0500 |
commit | 126966a8d9cb6564b0ac31dd20f32059cc35156f (patch) | |
tree | a9de10f9e2efad78437aa05c5c832c6f9d885c05 /src/theory/quantifiers/bounded_integers.cpp | |
parent | 24d60fa5654a32b09dc8de79b7704fbf40051478 (diff) |
Refactoring to separate old and new model building/checking code.
Diffstat (limited to 'src/theory/quantifiers/bounded_integers.cpp')
-rwxr-xr-x | src/theory/quantifiers/bounded_integers.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/theory/quantifiers/bounded_integers.cpp b/src/theory/quantifiers/bounded_integers.cpp index a9eb72b03..aeac3c79b 100755 --- a/src/theory/quantifiers/bounded_integers.cpp +++ b/src/theory/quantifiers/bounded_integers.cpp @@ -138,21 +138,21 @@ void BoundedIntegers::processLiteral( Node f, Node lit, bool pol ) { if( lit.getKind()==GEQ && lit[0].getType().isInteger() ){
std::map< Node, Node > msum;
if (QuantArith::getMonomialSumLit( lit, msum )){
- Trace("bound-integers") << "Literal (polarity = " << pol << ") " << lit << " is monomial sum : " << std::endl;
+ Trace("bound-integers-debug") << "Literal (polarity = " << pol << ") " << lit << " is monomial sum : " << std::endl;
for(std::map< Node, Node >::iterator it = msum.begin(); it != msum.end(); ++it ){
- Trace("bound-integers") << " ";
+ Trace("bound-integers-debug") << " ";
if( !it->second.isNull() ){
- Trace("bound-integers") << it->second;
+ Trace("bound-integers-debug") << it->second;
if( !it->first.isNull() ){
- Trace("bound-integers") << " * ";
+ Trace("bound-integers-debug") << " * ";
}
}
if( !it->first.isNull() ){
- Trace("bound-integers") << it->first;
+ Trace("bound-integers-debug") << it->first;
}
- Trace("bound-integers") << std::endl;
+ Trace("bound-integers-debug") << std::endl;
}
- Trace("bound-integers") << std::endl;
+ Trace("bound-integers-debug") << std::endl;
for( std::map< Node, Node >::iterator it = msum.begin(); it != msum.end(); ++it ){
if ( !it->first.isNull() && it->first.getKind()==BOUND_VARIABLE ){
Node veq;
@@ -170,11 +170,11 @@ void BoundedIntegers::processLiteral( Node f, Node lit, bool pol ) { }
veq = NodeManager::currentNM()->mkNode( GEQ, n1, n2 );
}
- Trace("bound-integers") << "Isolated for " << it->first << " : (" << n1 << " >= " << n2 << ")" << std::endl;
+ Trace("bound-integers-debug") << "Isolated for " << it->first << " : (" << n1 << " >= " << n2 << ")" << std::endl;
Node bv = n1.getKind()==BOUND_VARIABLE ? n1 : n2;
if( !isBound( f, bv ) ){
if( !hasNonBoundVar( f, n1.getKind()==BOUND_VARIABLE ? n2 : n1 ) ) {
- Trace("bound-integers") << "The bound is relevant." << std::endl;
+ Trace("bound-integers-debug") << "The bound is relevant." << std::endl;
d_bounds[n1.getKind()==BOUND_VARIABLE ? 0 : 1][f][bv] = (n1.getKind()==BOUND_VARIABLE ? n2 : n1);
}
}
|