Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
EigenEquationSolverSettings.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace storm {
7namespace settings {
8namespace modules {
9
14 public:
15 // An enumeration of all available methods for solving linear equations.
17
18 // An enumeration of all available preconditioning methods.
20
25
32
39
45 storm::solver::EigenLinearEquationSolverMethod getLinearEquationSystemMethod() const;
46
52 bool isPreconditioningMethodSet() const;
53
59 storm::solver::EigenLinearEquationSolverPreconditioner getPreconditioningMethod() const;
60
66 bool isRestartIterationCountSet() const;
67
74
80 bool isMaximalIterationCountSet() const;
81
88
94 bool isPrecisionSet() const;
95
101 double getPrecision() const;
102
103 bool check() const override;
104
105 // The name of the module.
106 static const std::string moduleName;
107
108 private:
109 // Define the string names of the options as constants.
110 static const std::string techniqueOptionName;
111 static const std::string preconditionOptionName;
112 static const std::string maximalIterationsOptionName;
113 static const std::string maximalIterationsOptionShortName;
114 static const std::string precisionOptionName;
115 static const std::string restartOptionName;
116};
117
118std::ostream& operator<<(std::ostream& out, EigenEquationSolverSettings::LinearEquationMethod const& method);
119
120} // namespace modules
121} // namespace settings
122} // namespace storm
bool isLinearEquationSystemMethodSetFromDefault() const
Retrieves whether the linear equation system method has been set from the default value.
bool isPreconditioningMethodSet() const
Retrieves whether the preconditioning method has been set.
bool check() const override
Checks whether the settings are consistent.
storm::solver::EigenLinearEquationSolverMethod getLinearEquationSystemMethod() const
Retrieves the method that is to be used for solving systems of linear equations.
bool isPrecisionSet() const
Retrieves whether the precision has been set.
bool isLinearEquationSystemMethodSet() const
Retrieves whether the linear equation system method has been set.
uint_fast64_t getRestartIterationCount() const
Retrieves the number of iterations after which restarted methods are to be restarted.
bool isRestartIterationCountSet() const
Retrieves whether the restart iteration count has been set.
uint_fast64_t getMaximalIterationCount() const
Retrieves the maximal number of iterations to perform until giving up on converging.
double getPrecision() const
Retrieves the precision that is used for detecting convergence.
storm::solver::EigenLinearEquationSolverPreconditioner getPreconditioningMethod() const
Retrieves the method that is to be used for preconditioning solving systems of linear equations.
bool isMaximalIterationCountSet() const
Retrieves whether the maximal iteration count has been set.
This is the base class of the settings for a particular module.
std::ostream & operator<<(std::ostream &out, EigenEquationSolverSettings::LinearEquationMethod const &method)
SettingsType const & getModule()
Get module.
LabParser.cpp.
Definition cli.cpp:18