Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
TimeBoundedSolverEnvironment.cpp
Go to the documentation of this file.
2
7
8namespace storm {
9
12 maMethod = tbSettings.getMaMethod();
13 maMethodSetFromDefault = tbSettings.isMaMethodSetFromDefaultValue();
14 precision = storm::utility::convertNumber<storm::RationalNumber>(tbSettings.getPrecision());
15 relative = tbSettings.isRelativePrecision();
16 unifPlusKappa = storm::utility::convertNumber<storm::RationalNumber>(tbSettings.getUnifPlusKappa());
17}
18
22
23storm::solver::MaBoundedReachabilityMethod const& TimeBoundedSolverEnvironment::getMaMethod() const {
24 return maMethod;
25}
26
28 return maMethodSetFromDefault;
29}
30
31void TimeBoundedSolverEnvironment::setMaMethod(storm::solver::MaBoundedReachabilityMethod value, bool isSetFromDefault) {
32 maMethod = value;
33 maMethodSetFromDefault = isSetFromDefault;
34}
35
36storm::RationalNumber const& TimeBoundedSolverEnvironment::getPrecision() const {
37 return precision;
38}
39
40void TimeBoundedSolverEnvironment::setPrecision(storm::RationalNumber value) {
41 precision = value;
42}
43
45 return relative;
46}
47
49 relative = value;
50}
51
52storm::RationalNumber const& TimeBoundedSolverEnvironment::getUnifPlusKappa() const {
53 return unifPlusKappa;
54}
55
56void TimeBoundedSolverEnvironment::setUnifPlusKappa(storm::RationalNumber value) {
57 unifPlusKappa = value;
58}
59
60} // namespace storm
void setMaMethod(storm::solver::MaBoundedReachabilityMethod value, bool isSetFromDefault=false)
storm::RationalNumber const & getPrecision() const
void setUnifPlusKappa(storm::RationalNumber value)
storm::RationalNumber const & getUnifPlusKappa() const
void setPrecision(storm::RationalNumber value)
storm::solver::MaBoundedReachabilityMethod const & getMaMethod() const
SettingsType const & getModule()
Get module.
LabParser.cpp.
Definition cli.cpp:18