Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
TopologicalSolverEnvironment.cpp
Go to the documentation of this file.
2
6
8
9namespace storm {
10
13 underlyingEquationSolverType = topologicalSettings.getUnderlyingEquationSolverType();
14 underlyingEquationSolverTypeSetFromDefault = topologicalSettings.isUnderlyingEquationSolverTypeSetFromDefaultValue();
15
16 underlyingMinMaxMethod = topologicalSettings.getUnderlyingMinMaxMethod();
17 underlyingMinMaxMethodSetFromDefault = topologicalSettings.isUnderlyingMinMaxMethodSetFromDefaultValue();
18 extendRelevantValues = topologicalSettings.isExtendRelevantValues();
19}
20
24
25storm::solver::EquationSolverType const& TopologicalSolverEnvironment::getUnderlyingEquationSolverType() const {
26 return underlyingEquationSolverType;
27}
28
30 return underlyingEquationSolverTypeSetFromDefault;
31}
32
33void TopologicalSolverEnvironment::setUnderlyingEquationSolverType(storm::solver::EquationSolverType value) {
34 STORM_LOG_THROW(value != storm::solver::EquationSolverType::Topological, storm::exceptions::InvalidArgumentException,
35 "Can not use the topological solver as underlying solver of the topological solver.");
36 underlyingEquationSolverTypeSetFromDefault = false;
37 underlyingEquationSolverType = value;
38}
39
40storm::solver::MinMaxMethod const& TopologicalSolverEnvironment::getUnderlyingMinMaxMethod() const {
41 return underlyingMinMaxMethod;
42}
43
45 return underlyingMinMaxMethodSetFromDefault;
46}
47
48void TopologicalSolverEnvironment::setUnderlyingMinMaxMethod(storm::solver::MinMaxMethod value) {
49 STORM_LOG_THROW(value != storm::solver::MinMaxMethod::Topological, storm::exceptions::InvalidArgumentException,
50 "Can not use the topological solver as underlying solver of the topological solver.");
51 underlyingMinMaxMethodSetFromDefault = false;
52 underlyingMinMaxMethod = value;
53}
54
56 return extendRelevantValues;
57}
58
60 extendRelevantValues = value;
61}
62
63} // namespace storm
storm::solver::MinMaxMethod const & getUnderlyingMinMaxMethod() const
void setUnderlyingMinMaxMethod(storm::solver::MinMaxMethod value)
storm::solver::EquationSolverType const & getUnderlyingEquationSolverType() const
void setUnderlyingEquationSolverType(storm::solver::EquationSolverType value)
#define STORM_LOG_THROW(cond, exception, message)
Definition macros.h:30
SettingsType const & getModule()
Get module.
LabParser.cpp.
Definition cli.cpp:18