Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
ExplorationSettings.h
Go to the documentation of this file.
1#ifndef STORM_SETTINGS_MODULES_EXPLORATIONSETTINGS_H_
2#define STORM_SETTINGS_MODULES_EXPLORATIONSETTINGS_H_
3
5
6namespace storm {
7namespace settings {
8namespace modules {
9
14 public:
15 // An enumeration of all available precomputation types.
17
18 // The available heuristics to choose the next state.
20
25
31 bool isLocalPrecomputationSet() const;
32
38 bool isGlobalPrecomputationSet() const;
39
46
53
54 /*
55 * Retrieves whether the option to perform a precomputation after a given number of sampled paths was set.
56 *
57 * @return True iff a precomputation after a given number of sampled paths is to be performed.
58 */
60
67
74
80 double getPrecision() const;
81
82 virtual bool check() const override;
83
84 // The name of the module.
85 static const std::string moduleName;
86
87 private:
88 // Define the string names of the options as constants.
89 static const std::string precomputationTypeOptionName;
90 static const std::string numberOfExplorationStepsUntilPrecomputationOptionName;
91 static const std::string numberOfSampledPathsUntilPrecomputationOptionName;
92 static const std::string nextStateHeuristicOptionName;
93 static const std::string precisionOptionName;
94 static const std::string precisionOptionShortName;
95};
96} // namespace modules
97} // namespace settings
98} // namespace storm
99
100#endif /* STORM_SETTINGS_MODULES_EXPLORATIONSETTINGS_H_ */
This class represents the exploration settings.
uint_fast64_t getNumberOfSampledPathsUntilPrecomputation() const
Retrieves the number of paths to sample until a precomputation is triggered.
bool isLocalPrecomputationSet() const
Retrieves whether local precomputation is to be used.
uint_fast64_t getNumberOfExplorationStepsUntilPrecomputation() const
Retrieves the number of exploration steps to perform until a precomputation is triggered.
double getPrecision() const
Retrieves the precision to use for numerical operations.
NextStateHeuristic getNextStateHeuristic() const
Retrieves the selected next-state heuristic.
PrecomputationType getPrecomputationType() const
Retrieves the selected precomputation type.
ExplorationSettings()
Creates a new set of exploration settings.
bool isGlobalPrecomputationSet() const
Retrieves whether global precomputation is to be used.
virtual bool check() const override
Checks whether the settings are consistent.
This is the base class of the settings for a particular module.
SettingsType const & getModule()
Get module.
LabParser.cpp.
Definition cli.cpp:18