Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
TimeBoundedSolverEnvironment.cpp
Go to the documentation of this file.
2
5
6namespace storm {
7
9 : maMethod(storm::solver::MaBoundedReachabilityMethod::UnifPlus),
10 maMethodSetFromDefault(true),
11 precision(storm::utility::convertNumber<storm::RationalNumber>(1e-06)),
12 relative(true),
13 unifPlusKappa(storm::utility::convertNumber<storm::RationalNumber>(0.05)) {
14 // Intentionally left empty.
15}
16
20
21storm::solver::MaBoundedReachabilityMethod const& TimeBoundedSolverEnvironment::getMaMethod() const {
22 return maMethod;
23}
24
26 return maMethodSetFromDefault;
27}
28
29void TimeBoundedSolverEnvironment::setMaMethod(storm::solver::MaBoundedReachabilityMethod value, bool isSetFromDefault) {
30 maMethod = value;
31 maMethodSetFromDefault = isSetFromDefault;
32}
33
34storm::RationalNumber const& TimeBoundedSolverEnvironment::getPrecision() const {
35 return precision;
36}
37
38void TimeBoundedSolverEnvironment::setPrecision(storm::RationalNumber value) {
39 precision = value;
40}
41
43 return relative;
44}
45
47 relative = value;
48}
49
50storm::RationalNumber const& TimeBoundedSolverEnvironment::getUnifPlusKappa() const {
51 return unifPlusKappa;
52}
53
54void TimeBoundedSolverEnvironment::setUnifPlusKappa(storm::RationalNumber value) {
55 unifPlusKappa = value;
56}
57
58} // 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