Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
GeneralSettings.h
Go to the documentation of this file.
1#pragma once
2
3#include "storm-config.h"
5
7
8namespace storm {
9namespace settings {
10namespace modules {
11
16 public:
21
27 bool isHelpSet() const;
28
34 bool isVersionSet() const;
35
42 std::string getHelpFilterExpression() const;
43
49 bool isVerboseSet() const;
50
56 bool isShowProgressSet() const;
57
63 uint64_t getShowProgressDelay() const;
64
70 double getPrecision() const;
71
77 double getTolerance() const;
78
84 bool isToleranceSet() const;
85
91 bool isConfigSet() const;
92
98 std::string getConfigFilename() const;
99
105 bool isBisimulationSet() const;
106
112 bool isParametricSet() const;
113
114 bool isPrecisionSet() const;
115
116 void setPrecision(std::string precision);
117
123 bool isExactSet() const;
124
130 bool isExactFinitePrecisionSet() const;
131
137 bool isSoundSet() const;
138
139 bool check() const override;
140 void finalize() override;
141
142 // The name of the module.
143 static const std::string moduleName;
144
145 private:
146 // Define the string names of the options as constants.
147 static const std::string helpOptionName;
148 static const std::string helpOptionShortName;
149 static const std::string printTimeAndMemoryOptionName;
150 static const std::string printTimeAndMemoryOptionShortName;
151 static const std::string versionOptionName;
152 static const std::string verboseOptionName;
153 static const std::string verboseOptionShortName;
154 static const std::string showProgressOptionName;
155 static const std::string showProgressOptionShortName;
156 static const std::string precisionOptionName;
157 static const std::string precisionOptionShortName;
158 static const std::string toleranceOptionName;
159 static const std::string configOptionName;
160 static const std::string configOptionShortName;
161 static const std::string bisimulationOptionName;
162 static const std::string bisimulationOptionShortName;
163 static const std::string parametricOptionName;
164 static const std::string exactOptionName;
165 static const std::string soundOptionName;
166};
167
168} // namespace modules
169} // namespace settings
170} // namespace storm
bool isHelpSet() const
Retrieves whether the help option was set.
bool isBisimulationSet() const
Retrieves whether the option to perform bisimulation minimization is set.
uint64_t getShowProgressDelay() const
Retrieves the delay for printing information about the exploration progress.
bool isExactSet() const
Retrieves whether the option enabling exact model checking is set and we should use infinite precisio...
std::string getConfigFilename() const
Retrieves the name of the file that is to be scanned for settings.
bool isToleranceSet() const
Retrieves whether the tolerance option was set.
void finalize() override
Prepares the modules for further usage, should be called at the end of the initialization,...
bool isVerboseSet() const
Retrieves whether the verbose option was set.
bool isParametricSet() const
Retrieves whether the option enabling parametric model checking is set.
bool isVersionSet() const
Retrieves whether the version option was set.
bool isSoundSet() const
Retrieves whether the option forcing soundnet is set.
bool isExactFinitePrecisionSet() const
Retrieves whether the option enabling exact model checking is set.
bool isShowProgressSet() const
Retrieves whether the progress option was set.
std::string getHelpFilterExpression() const
Retrieves the name of the module for which to show the help or "all" to indicate that the full help n...
double getTolerance() const
Retrieves the tolerance to use for comparing probabilities and rates.
bool isConfigSet() const
Retrieves whether the config option was set.
bool check() const override
Checks whether the settings are consistent.
GeneralSettings()
Creates a new set of general settings.
double getPrecision() const
Retrieves the precision to use for numerical operations.
ModuleSettings(std::string const &moduleName)
Constructs a new settings object.