summaryrefslogtreecommitdiff
path: root/src/smt/env.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-06-09 11:27:16 -0500
committerGitHub <noreply@github.com>2021-06-09 11:27:16 -0500
commit9662830ebf97954ebe14055eb4503beba134d3c3 (patch)
treeac521e6067bb0de85c683918e18d1dcb0dce1ace /src/smt/env.h
parent4d08fa6705aac1099fe73468d4ed6dd2d97771ba (diff)
parent0c982a7486ef9b6991589685f9091602e0cf5572 (diff)
Merge branch 'master' into smtcompoptssmtcompopts
Diffstat (limited to 'src/smt/env.h')
-rw-r--r--src/smt/env.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/smt/env.h b/src/smt/env.h
index 29a360209..57b5ad9c7 100644
--- a/src/smt/env.h
+++ b/src/smt/env.h
@@ -94,6 +94,9 @@ class Env
/** Get the options object (const version only) owned by this Env. */
const Options& getOptions() const;
+ /** Get the original options object (const version only). */
+ const Options& getOriginalOptions() const;
+
/** Get the resource manager owned by this Env. */
ResourceManager* getResourceManager() const;
@@ -180,6 +183,12 @@ class Env
* consider during solving and initialization.
*/
Options d_options;
+ /**
+ * A pointer to the original options object as stored in the api::Solver.
+ * The referenced objects holds the options as initially parsed before being
+ * changed, e.g., by setDefaults().
+ */
+ const Options* d_originalOptions;
/** Manager for limiting time and abstract resource usage. */
std::unique_ptr<ResourceManager> d_resourceManager;
}; /* class Env */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback