12 detMethod = lraSettings.getDetLraMethod();
13 detMethodSetFromDefault = lraSettings.isDetLraMethodSetFromDefaultValue();
14 nondetMethod = lraSettings.getNondetLraMethod();
15 nondetMethodSetFromDefault = lraSettings.isNondetLraMethodSetFromDefaultValue();
16 precision = storm::utility::convertNumber<storm::RationalNumber>(lraSettings.getPrecision());
17 relative = lraSettings.isRelativePrecision();
18 if (lraSettings.isMaximalIterationCountSet()) {
19 maxIters = lraSettings.getMaximalIterationCount();
21 aperiodicFactor = storm::utility::convertNumber<storm::RationalNumber>(lraSettings.getAperiodicFactor());
33 return detMethodSetFromDefault;
38 detMethodSetFromDefault = isSetFromDefault;
46 return nondetMethodSetFromDefault;
51 nondetMethodSetFromDefault = isSetFromDefault;
71 return maxIters.is_initialized();
75 return maxIters.get();
83 maxIters = boost::none;
87 return aperiodicFactor;
91 aperiodicFactor = value;
~LongRunAverageSolverEnvironment()
storm::RationalNumber const & getAperiodicFactor() const
storm::solver::LraMethod const & getNondetLraMethod() const
bool isMaximalIterationCountSet() const
bool const & isDetLraMethodSetFromDefault() const
LongRunAverageSolverEnvironment()
bool const & isNondetLraMethodSetFromDefault() const
storm::RationalNumber const & getPrecision() const
void setNondetLraMethod(storm::solver::LraMethod value, bool isSetFromDefault=false)
void setMaximalIterationCount(uint64_t value)
void setDetLraMethod(storm::solver::LraMethod value, bool isSetFromDefault=false)
void setPrecision(storm::RationalNumber value)
void unsetMaximalIterationCount()
bool const & getRelativeTerminationCriterion() const
uint64_t getMaximalIterationCount() const
void setRelativeTerminationCriterion(bool value)
void setAperiodicFactor(storm::RationalNumber value)
storm::solver::LraMethod const & getDetLraMethod() const
SettingsType const & getModule()
Get module.