Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
GeneralSettings.h
Go to the documentation of this file.
1#ifndef STORM_SETTINGS_MODULES_GENERALSETTINGS_H_
2#define STORM_SETTINGS_MODULES_GENERALSETTINGS_H_
3
4#include "storm-config.h"
6
8
9namespace storm {
10namespace settings {
11namespace modules {
12
17 public:
22
28 bool isHelpSet() const;
29
35 bool isVersionSet() const;
36
43 std::string getHelpFilterExpression() const;
44
50 bool isVerboseSet() const;
51
57 bool isShowProgressSet() const;
58
65
71 double getPrecision() const;
72
78 bool isConfigSet() const;
79
85 std::string getConfigFilename() const;
86
92 bool isBisimulationSet() const;
93
99 bool isParametricSet() const;
100
101 bool isPrecisionSet() const;
102
103 void setPrecision(std::string precision);
104
110 bool isExactSet() const;
111
117 bool isExactFinitePrecisionSet() const;
118
124 bool isSoundSet() const;
125
126 bool check() const override;
127 void finalize() override;
128
129 // The name of the module.
130 static const std::string moduleName;
131
132 private:
133 // Define the string names of the options as constants.
134 static const std::string helpOptionName;
135 static const std::string helpOptionShortName;
136 static const std::string printTimeAndMemoryOptionName;
137 static const std::string printTimeAndMemoryOptionShortName;
138 static const std::string versionOptionName;
139 static const std::string verboseOptionName;
140 static const std::string verboseOptionShortName;
141 static const std::string showProgressOptionName;
142 static const std::string showProgressOptionShortName;
143 static const std::string precisionOptionName;
144 static const std::string precisionOptionShortName;
145 static const std::string configOptionName;
146 static const std::string configOptionShortName;
147 static const std::string bisimulationOptionName;
148 static const std::string bisimulationOptionShortName;
149 static const std::string parametricOptionName;
150 static const std::string exactOptionName;
151 static const std::string soundOptionName;
152};
153
154} // namespace modules
155} // namespace settings
156} // namespace storm
157
158#endif /* STORM_SETTINGS_MODULES_GENERALSETTINGS_H_ */
This class represents the general settings.
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.
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...
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.
This is the base class of the settings for a particular module.
SettingsType const & getModule()
Get module.
LabParser.cpp.
Definition cli.cpp:18