Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
GmmxxEquationSolverSettings.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace storm {
7namespace settings {
8namespace modules {
9
14 public:
19
26
32 storm::solver::GmmxxLinearEquationSolverMethod getLinearEquationSystemMethod() const;
33
39 bool isPreconditioningMethodSet() const;
40
46 storm::solver::GmmxxLinearEquationSolverPreconditioner getPreconditioningMethod() const;
47
53 bool isRestartIterationCountSet() const;
54
60 uint_fast64_t getRestartIterationCount() const;
61
67 bool isMaximalIterationCountSet() const;
68
74 uint_fast64_t getMaximalIterationCount() const;
75
81 bool isPrecisionSet() const;
82
88 double getPrecision() const;
89
90 bool check() const override;
91
92 // The name of the module.
93 static const std::string moduleName;
94
95 private:
96 // Define the string names of the options as constants.
97 static const std::string techniqueOptionName;
98 static const std::string preconditionOptionName;
99 static const std::string restartOptionName;
100 static const std::string maximalIterationsOptionName;
101 static const std::string maximalIterationsOptionShortName;
102 static const std::string precisionOptionName;
103};
104
105} // namespace modules
106} // namespace settings
107} // namespace storm
bool isMaximalIterationCountSet() const
Retrieves whether the maximal iteration count has been set.
bool isPreconditioningMethodSet() const
Retrieves whether the preconditioning method has been set.
uint_fast64_t getMaximalIterationCount() const
Retrieves the maximal number of iterations to perform until giving up on converging.
bool isLinearEquationSystemMethodSet() const
Retrieves whether the linear equation system method has been set.
double getPrecision() const
Retrieves the precision that is used for detecting convergence.
storm::solver::GmmxxLinearEquationSolverMethod getLinearEquationSystemMethod() const
Retrieves the method that is to be used for solving systems of linear equations.
bool isRestartIterationCountSet() const
Retrieves whether the restart iteration count has been set.
bool check() const override
Checks whether the settings are consistent.
bool isPrecisionSet() const
Retrieves whether the precision has been set.
uint_fast64_t getRestartIterationCount() const
Retrieves the number of iterations after which restarted methods are to be restarted.
storm::solver::GmmxxLinearEquationSolverPreconditioner getPreconditioningMethod() const
Retrieves the method that is to be used for preconditioning solving systems of linear equations.
ModuleSettings(std::string const &moduleName)
Constructs a new settings object.