Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
MinMaxSolverEnvironment.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
9
10namespace storm {
11
13
14// Explicitly instantiated once in CoreEnvironments.cpp; this avoids redundant re-instantiation elsewhere.
16
18 public:
21
23 MinMaxLpSolverEnvironment const& lp() const;
24
25 storm::solver::MinMaxMethod const& getMethod() const;
26 bool const& isMethodSetFromDefault() const;
27 void setMethod(storm::solver::MinMaxMethod value, bool isSetFromDefault = false);
28 uint64_t const& getMaximalNumberOfIterations() const;
29 void setMaximalNumberOfIterations(uint64_t value);
30 storm::RationalNumber const& getPrecision() const;
31 void setPrecision(storm::RationalNumber value);
32 bool const& getRelativeTerminationCriterion() const;
33 void setRelativeTerminationCriterion(bool value);
36 bool isForceRequireUnique() const;
37 void setForceRequireUnique(bool value);
38
39 private:
41
42 storm::solver::MinMaxMethod minMaxMethod;
43 bool methodSetFromDefault;
44 uint64_t maxIterationCount;
45 storm::RationalNumber precision;
46 bool considerRelativeTerminationCriterion;
47 storm::solver::MultiplicationStyle multiplicationStyle;
48 bool forceRequireUnique;
49};
50} // namespace storm
void setMultiplicationStyle(storm::solver::MultiplicationStyle value)
uint64_t const & getMaximalNumberOfIterations() const
storm::solver::MultiplicationStyle const & getMultiplicationStyle() const
storm::RationalNumber const & getPrecision() const
storm::solver::MinMaxMethod const & getMethod() const
void setPrecision(storm::RationalNumber value)
void setMethod(storm::solver::MinMaxMethod value, bool isSetFromDefault=false)
MinMaxLpSolverEnvironment & lp()
void setMaximalNumberOfIterations(uint64_t value)
bool const & getRelativeTerminationCriterion() const