diff options
Diffstat (limited to 'src/options/simplification_mode.cpp')
-rw-r--r-- | src/options/simplification_mode.cpp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/options/simplification_mode.cpp b/src/options/simplification_mode.cpp new file mode 100644 index 000000000..08f961c15 --- /dev/null +++ b/src/options/simplification_mode.cpp @@ -0,0 +1,37 @@ +/********************* */ +/*! \file simplification_mode.cpp + ** \verbatim + ** Original author: Morgan Deters + ** Major contributors: none + ** 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/simplification_mode.h" + +namespace CVC4 { + +std::ostream& operator<<(std::ostream& out, SimplificationMode mode) { + switch(mode) { + case SIMPLIFICATION_MODE_BATCH: + out << "SIMPLIFICATION_MODE_BATCH"; + break; + case SIMPLIFICATION_MODE_NONE: + out << "SIMPLIFICATION_MODE_NONE"; + break; + default: + out << "SimplificationMode:UNKNOWN![" << unsigned(mode) << "]"; + } + + return out; +} + +}/* CVC4 namespace */ |