Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
Environment.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace storm {
6
7// Forward declare sub-environments
8class DdEnvironment;
12
13// Avoid implementing ugly copy constructors for environment by using an internal environment.
20
22 public:
24 virtual ~Environment();
25 Environment(Environment const& other);
26 Environment& operator=(Environment const& other);
27
29 DdEnvironment const& dd() const;
35 SolverEnvironment const& solver() const;
36
42 static constexpr double DefaultModelTolerance = 1e-09;
43
44 double modelTolerance() const;
45 void setModelTolerance(double value);
46
47 private:
49 double modelToleranceValue;
50};
51
52// Explicitly instantiated once in CoreEnvironments.cpp
53// Avoids redundant re-instantiation elsewhere
54extern template class SubEnvironment<Environment>; // Not needed in core but needed for other libraries
55extern template class SubEnvironment<InternalEnvironment>;
56extern template class SubEnvironment<DdEnvironment>;
57extern template class SubEnvironment<ExplorationEnvironment>;
58extern template class SubEnvironment<ModelCheckerEnvironment>;
59extern template class SubEnvironment<SolverEnvironment>;
60
61} // namespace storm
void setModelTolerance(double value)
double modelTolerance() const
static constexpr double DefaultModelTolerance
The default tolerance up to which probabilities and rates are considered equal.
Definition Environment.h:42
ExplorationEnvironment & exploration()
DdEnvironment & dd()
SolverEnvironment & solver()
ModelCheckerEnvironment & modelchecker()
Environment & operator=(Environment const &other)
SubEnvironment< ModelCheckerEnvironment > modelcheckerEnvironment
Definition Environment.h:17
SubEnvironment< DdEnvironment > ddEnvironment
Definition Environment.h:15
SubEnvironment< SolverEnvironment > solverEnvironment
Definition Environment.h:18
SubEnvironment< ExplorationEnvironment > explorationEnvironment
Definition Environment.h:16