summaryrefslogtreecommitdiff
path: root/src/util/options.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2011-04-10 00:44:20 +0000
committerMorgan Deters <mdeters@gmail.com>2011-04-10 00:44:20 +0000
commit969b144a5f9630d646afdf0ff0a053df38d0ed1a (patch)
tree92eb38ad161abfe3af979a86285549168d118c5e /src/util/options.h
parent8495ee8e7de4a7e472d72cfb20290940c59794e3 (diff)
merge from replay branch
Diffstat (limited to 'src/util/options.h')
-rw-r--r--src/util/options.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/util/options.h b/src/util/options.h
index dc0d231bd..8273db458 100644
--- a/src/util/options.h
+++ b/src/util/options.h
@@ -3,9 +3,9 @@
** \verbatim
** Original author: mdeters
** Major contributors: cconway
- ** Minor contributors (to current version): dejan
+ ** Minor contributors (to current version): dejan, taking
** This file is part of the CVC4 prototype.
- ** Copyright (c) 2009, 2010 The Analysis of Computer Systems Group (ACSys)
+ ** Copyright (c) 2009, 2010, 2011 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
@@ -22,6 +22,7 @@
#define __CVC4__OPTIONS_H
#include <iostream>
+#include <fstream>
#include <string>
#include "util/exception.h"
@@ -30,6 +31,8 @@
namespace CVC4 {
+class ExprStream;
+
/** Class representing an option-parsing exception. */
class OptionException : public CVC4::Exception {
public:
@@ -128,10 +131,18 @@ struct CVC4_PUBLIC Options {
/** Whether incemental solving (push/pop) */
bool incrementalSolving;
+ /** Replay file to use (for decisions); empty if no replay file. */
+ std::string replayFilename;
+
+ /** Replay stream to use (for decisions); NULL if no replay file. */
+ ExprStream* replayStream;
+
+ /** Log to write replay instructions to; NULL if not logging. */
+ std::ostream* replayLog;
+
/** Whether to rewrite equalities in arithmetic theory */
bool rewriteArithEqualities;
-
/**
* Frequency for the sat solver to make random decisions.
* Should be between 0 and 1.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback