blob: 82552553f9afd148eb598cb44711e61df74c601f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
/********************* -*- C++ -*- */
/** options.h
** Original author: mdeters
** Major contributors: dejan
** Minor contributors (to current version): taking
** This file is part of the CVC4 prototype.
** Copyright (c) 2009, 2010 The Analysis of Computer Systems Group (ACSys)
** Courant Institute of Mathematical Sciences
** New York University
** See the file COPYING in the top-level source directory for licensing
** information.
**
** Global (command-line or equivalent) tuning parameters.
**/
#ifndef __CVC4__OPTIONS_H
#define __CVC4__OPTIONS_H
#include <iostream>
#include "parser/parser.h"
#include "prop/cnf_conversion.h"
namespace CVC4 {
struct Options {
std::string binary_name;
bool smtcomp_mode;
bool statistics;
std::ostream *out;
std::ostream *err;
/* -1 means no output */
/* 0 is normal (and default) -- warnings only */
/* 1 is warnings + notices so the user doesn't get too bored */
/* 2 is chatty, giving statistical things etc. */
/* with 3, the solver is slowed down by all the scrolling */
int verbosity;
/** The input language */
parser::Parser::InputLanguage lang;
/** The CNF conversion */
CVC4::CnfConversion d_cnfConversion;
Options() : binary_name(),
smtcomp_mode(false),
statistics(false),
out(0),
err(0),
verbosity(0),
lang(parser::Parser::LANG_AUTO),
d_cnfConversion(CVC4::CNF_VAR_INTRODUCTION)
{}
};/* struct Options */
}/* CVC4 namespace */
#endif /* __CVC4__OPTIONS_H */
|