Merge branch '1.2.x'
[cvc5.git] / src / theory / arith / arith_heuristic_pivot_rule.cpp
1 /********************* */
2 /*! \file arith_heuristic_pivot_rule.cpp
3 ** \verbatim
4 ** Original author: Morgan Deters
5 ** Major contributors: none
6 ** Minor contributors (to current version): none
7 ** This file is part of the CVC4 project.
8 ** Copyright (c) 2009-2013 New York University and The University of Iowa
9 ** See the file COPYING in the top-level source directory for licensing
10 ** information.\endverbatim
11 **
12 ** \brief [[ Add one-line brief description here ]]
13 **
14 ** [[ Add lengthier description here ]]
15 ** \todo document this file
16 **/
17
18 #include "theory/arith/arith_heuristic_pivot_rule.h"
19
20 namespace CVC4 {
21
22 std::ostream& operator<<(std::ostream& out, ErrorSelectionRule rule) {
23 switch(rule) {
24 case MINIMUM_AMOUNT:
25 out << "MINIMUM_AMOUNT";
26 break;
27 case VAR_ORDER:
28 out << "VAR_ORDER";
29 break;
30 case MAXIMUM_AMOUNT:
31 out << "MAXIMUM_AMOUNT";
32 break;
33 default:
34 out << "ArithHeuristicPivotRule!UNKNOWN";
35 }
36
37 return out;
38 }
39
40 }/* CVC4 namespace */
41