Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
GmmxxSolverEnvironment.cpp
Go to the documentation of this file.
2
7
8namespace storm {
9
12
13 method = gmmxxSettings.getLinearEquationSystemMethod();
14 preconditioner = gmmxxSettings.getPreconditioningMethod();
15 restartThreshold = gmmxxSettings.getRestartIterationCount();
16 if (gmmxxSettings.isMaximalIterationCountSet()) {
17 maxIterationCount = gmmxxSettings.getMaximalIterationCount();
18 } else {
19 maxIterationCount = std::numeric_limits<uint_fast64_t>::max();
20 }
21 precision = storm::utility::convertNumber<storm::RationalNumber>(gmmxxSettings.getPrecision());
22}
23
25 // Intentionally left empty
26}
27
28storm::solver::GmmxxLinearEquationSolverMethod const& GmmxxSolverEnvironment::getMethod() const {
29 return method;
30}
31
32void GmmxxSolverEnvironment::setMethod(storm::solver::GmmxxLinearEquationSolverMethod value) {
33 method = value;
34}
35
36storm::solver::GmmxxLinearEquationSolverPreconditioner const& GmmxxSolverEnvironment::getPreconditioner() const {
37 return preconditioner;
38}
39
40void GmmxxSolverEnvironment::setPreconditioner(storm::solver::GmmxxLinearEquationSolverPreconditioner value) {
41 preconditioner = value;
42}
43
45 return restartThreshold;
46}
47
49 restartThreshold = value;
50}
51
53 return maxIterationCount;
54}
55
57 maxIterationCount = value;
58}
59
60storm::RationalNumber const& GmmxxSolverEnvironment::getPrecision() const {
61 return precision;
62}
63
64void GmmxxSolverEnvironment::setPrecision(storm::RationalNumber value) {
65 precision = value;
66}
67} // 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
SettingsType const & getModule()
Get module.
LabParser.cpp.
Definition cli.cpp:18