1 |
|
/****************************************************************************** |
2 |
|
* Top contributors (to current version): |
3 |
|
* Andrew Reynolds |
4 |
|
* |
5 |
|
* This file is part of the cvc5 project. |
6 |
|
* |
7 |
|
* Copyright (c) 2009-2021 by the authors listed in the file AUTHORS |
8 |
|
* in the top-level source directory and their institutional affiliations. |
9 |
|
* All rights reserved. See the file COPYING in the top-level source |
10 |
|
* directory for licensing information. |
11 |
|
* **************************************************************************** |
12 |
|
* |
13 |
|
* Enumeration type for the mode of an SmtEngine. |
14 |
|
*/ |
15 |
|
|
16 |
|
#include "smt/smt_mode.h" |
17 |
|
|
18 |
|
#include <iostream> |
19 |
|
|
20 |
|
namespace cvc5 { |
21 |
|
|
22 |
|
std::ostream& operator<<(std::ostream& out, SmtMode m) |
23 |
|
{ |
24 |
|
switch (m) |
25 |
|
{ |
26 |
|
case SmtMode::START: out << "START"; break; |
27 |
|
case SmtMode::ASSERT: out << "ASSERT"; break; |
28 |
|
case SmtMode::SAT: out << "SAT"; break; |
29 |
|
case SmtMode::SAT_UNKNOWN: out << "SAT_UNKNOWN"; break; |
30 |
|
case SmtMode::UNSAT: out << "UNSAT"; break; |
31 |
|
case SmtMode::ABDUCT: out << "ABDUCT"; break; |
32 |
|
case SmtMode::INTERPOL: out << "INTERPOL"; break; |
33 |
|
default: out << "SmtMode!Unknown"; break; |
34 |
|
} |
35 |
|
return out; |
36 |
|
} |
37 |
|
|
38 |
27735 |
} // namespace cvc5 |