Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
GmmxxSolverEnvironment.cpp
Go to the documentation of this file.
2
3#include <limits>
4
7
8namespace storm {
9
11 : method(storm::solver::GmmxxLinearEquationSolverMethod::Gmres),
12 preconditioner(storm::solver::GmmxxLinearEquationSolverPreconditioner::Ilu),
13 restartThreshold(50),
14 maxIterationCount(std::numeric_limits<uint64_t>::max()),
15 precision(storm::utility::convertNumber<storm::RationalNumber>(1e-06)) {
16 // Intentionally left empty.
17}
18
20 // Intentionally left empty
21}
22
23storm::solver::GmmxxLinearEquationSolverMethod const& GmmxxSolverEnvironment::getMethod() const {
24 return method;
25}
26
27void GmmxxSolverEnvironment::setMethod(storm::solver::GmmxxLinearEquationSolverMethod value) {
28 method = value;
29}
30
31storm::solver::GmmxxLinearEquationSolverPreconditioner const& GmmxxSolverEnvironment::getPreconditioner() const {
32 return preconditioner;
33}
34
35void GmmxxSolverEnvironment::setPreconditioner(storm::solver::GmmxxLinearEquationSolverPreconditioner value) {
36 preconditioner = value;
37}
38
40 return restartThreshold;
41}
42
44 restartThreshold = value;
45}
46
48 return maxIterationCount;
49}
50
52 maxIterationCount = value;
53}
54
55storm::RationalNumber const& GmmxxSolverEnvironment::getPrecision() const {
56 return precision;
57}
58
59void GmmxxSolverEnvironment::setPrecision(storm::RationalNumber value) {
60 precision = value;
61}
62} // namespace storm
void setMethod(storm::solver::GmmxxLinearEquationSolverMethod value)
storm::RationalNumber const & getPrecision() const
void setPrecision(storm::RationalNumber value)
void setMaximalNumberOfIterations(uint64_t value)
void setPreconditioner(storm::solver::GmmxxLinearEquationSolverPreconditioner value)
uint64_t const & getMaximalNumberOfIterations() const
storm::solver::GmmxxLinearEquationSolverMethod const & getMethod() const
uint64_t const & getRestartThreshold() const
storm::solver::GmmxxLinearEquationSolverPreconditioner const & getPreconditioner() const