Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
NativeEquationSolverSettings.h
Go to the documentation of this file.
1#pragma once
2
4
7
8namespace storm {
9namespace settings {
10namespace modules {
11
16 public:
17 // An enumeration of all available convergence criteria.
19
24
31
38
44 storm::solver::NativeLinearEquationSolverMethod getLinearEquationSystemMethod() const;
45
51 bool isMaximalIterationCountSet() const;
52
58 uint_fast64_t getMaximalIterationCount() const;
59
65 bool isPrecisionSet() const;
66
72 double getPrecision() const;
73
79 double getOmega() const;
80
86 bool isConvergenceCriterionSet() const;
87
94
99
106
107 bool check() const override;
108
109 // The name of the module.
110 static const std::string moduleName;
111
112 private:
113 // Define the string names of the options as constants.
114 static const std::string techniqueOptionName;
115 static const std::string omegaOptionName;
116 static const std::string maximalIterationsOptionName;
117 static const std::string maximalIterationsOptionShortName;
118 static const std::string precisionOptionName;
119 static const std::string absoluteOptionName;
120 static const std::string intervalIterationSymmetricUpdatesOptionName;
121 static const std::string powerMethodMultiplicationStyleOptionName;
122};
123
124} // namespace modules
125} // namespace settings
126} // namespace storm
ModuleSettings(std::string const &moduleName)
Constructs a new settings object.
bool isLinearEquationSystemTechniqueSetFromDefaultValue() const
Retrieves whether the linear equation system technique is set from its default value.
bool isPrecisionSet() const
Retrieves whether the precision has been set.
uint_fast64_t getMaximalIterationCount() const
Retrieves the maximal number of iterations to perform until giving up on converging.
bool isConvergenceCriterionSet() const
Retrieves whether the convergence criterion has been set.
bool check() const override
Checks whether the settings are consistent.
bool isForceIntervalIterationSymmetricUpdatesSet() const
Retrievew whether updates in interval iteration have to be made symmetrically.
bool isLinearEquationSystemTechniqueSet() const
Retrieves whether the linear equation system technique has been set.
double getOmega() const
Retrieves the value of omega to be used for the SOR method.
double getPrecision() const
Retrieves the precision that is used for detecting convergence.
bool isMaximalIterationCountSet() const
Retrieves whether the maximal iteration count has been set.
storm::solver::NativeLinearEquationSolverMethod getLinearEquationSystemMethod() const
Retrieves the method that is to be used for solving systems of linear equations.
NativeEquationSolverSettings()
Creates a new set of native equation solver settings.
storm::solver::MultiplicationStyle getPowerMethodMultiplicationStyle() const
Retrieves the multiplication style to use in the power method.
ConvergenceCriterion getConvergenceCriterion() const
Retrieves the selected convergence criterion.