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 bool isConfigSet() const;
78
84 std::string getConfigFilename() const;
85
91 bool isBisimulationSet() const;
92
98 bool isParametricSet() const;
99
100 bool isPrecisionSet() const;
101
102 void setPrecision(std::string precision);
103
109 bool isExactSet() const;
110
116 bool isExactFinitePrecisionSet() const;
117
123 bool isSoundSet() const;
124
125 bool check() const override;
126 void finalize() override;
127
128 // The name of the module.
129 static const std::string moduleName;
130
131 private:
132 // Define the string names of the options as constants.
133 static const std::string helpOptionName;
134 static const std::string helpOptionShortName;
135 static const std::string printTimeAndMemoryOptionName;
136 static const std::string printTimeAndMemoryOptionShortName;
137 static const std::string versionOptionName;
138 static const std::string verboseOptionName;
139 static const std::string verboseOptionShortName;
140 static const std::string showProgressOptionName;
141 static const std::string showProgressOptionShortName;
142 static const std::string precisionOptionName;
143 static const std::string precisionOptionShortName;
144 static const std::string configOptionName;
145 static const std::string configOptionShortName;
146 static const std::string bisimulationOptionName;
147 static const std::string bisimulationOptionShortName;
148 static const std::string parametricOptionName;
149 static const std::string exactOptionName;
150 static const std::string soundOptionName;
151};
152
153} // namespace modules
154} // namespace settings
155} // 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.
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.
ModuleSettings(std::string const &moduleName)
Constructs a new settings object.