diff options
Diffstat (limited to 'src/options/arith_heuristic_pivot_rule.cpp')
-rw-r--r-- | src/options/arith_heuristic_pivot_rule.cpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/options/arith_heuristic_pivot_rule.cpp b/src/options/arith_heuristic_pivot_rule.cpp new file mode 100644 index 000000000..ff5f2102a --- /dev/null +++ b/src/options/arith_heuristic_pivot_rule.cpp @@ -0,0 +1,40 @@ +/********************* */ +/*! \file arith_heuristic_pivot_rule.cpp + ** \verbatim + ** Original author: Morgan Deters + ** Major contributors: Tim King + ** Minor contributors (to current version): none + ** This file is part of the CVC4 project. + ** Copyright (c) 2009-2014 New York University and The University of Iowa + ** See the file COPYING in the top-level source directory for licensing + ** information.\endverbatim + ** + ** \brief [[ Add one-line brief description here ]] + ** + ** [[ Add lengthier description here ]] + ** \todo document this file + **/ + +#include "options/arith_heuristic_pivot_rule.h" + +namespace CVC4 { + +std::ostream& operator<<(std::ostream& out, ErrorSelectionRule rule) { + switch(rule) { + case MINIMUM_AMOUNT: + out << "MINIMUM_AMOUNT"; + break; + case VAR_ORDER: + out << "VAR_ORDER"; + break; + case MAXIMUM_AMOUNT: + out << "MAXIMUM_AMOUNT"; + break; + default: + out << "ArithHeuristicPivotRule!UNKNOWN"; + } + + return out; +} + +}/* CVC4 namespace */ |