|
Storm 2.0.0.3
A Modern Probabilistic Model Checker
|
The contract of a DD backend. More...
Namespaces | |
| namespace | utility |
| namespace | jani |
| namespace | cli |
| namespace | io |
| namespace | conv |
| namespace | api |
| namespace | prism |
| namespace | converter |
| namespace | settings |
| namespace | counterexamples |
| namespace | dft |
| namespace | storage |
| namespace | parser |
| Contains all file parsers and helper classes. | |
| namespace | gbar |
| namespace | expressions |
| namespace | dd |
| namespace | models |
| namespace | modelchecker |
| namespace | builder |
| namespace | gspn |
| namespace | pars |
| namespace | logic |
| namespace | derivative |
| namespace | analysis |
| namespace | transformer |
| namespace | languages |
| namespace | ps |
| namespace | pomdp |
| namespace | generator |
| namespace | adapters |
| namespace | detail |
| namespace | automata |
| namespace | solver |
| namespace | exceptions |
| namespace | umb |
| Import and export of umb files. | |
| namespace | simulator |
| namespace | bisimulation |
| namespace | optionalref_detail |
| Helper to prevent OptionalRef's to rvalue types. | |
| namespace | test |
Typedefs | |
| using | BoundType = carl::BoundType |
| Type describing the interval bounds. | |
| typedef carl::Interval< double > | Interval |
| Interval type. | |
| typedef carl::Interval< storm::RationalNumber > | RationalInterval |
| template<typename ValueType> | |
| using | IntervalBaseType = typename detail::IntervalMetaProgrammingHelper<ValueType>::BaseType |
| Helper to access the type in which interval boundaries are stored. | |
| template<typename ValueType> | |
| using | json = nlohmann::basic_json<std::map, std::vector, std::string, bool, int64_t, uint64_t, ValueType> |
| typedef carl::Cache< carl::PolynomialFactorizationPair< RawPolynomial > > | RawPolynomialCache |
| typedef carl::Relation | CompareRelation |
| typedef carl::Variable | RationalFunctionVariable |
| typedef carl::MultivariatePolynomial< RationalFunctionCoefficient > | RawPolynomial |
| typedef carl::UnivariatePolynomial< RationalFunctionCoefficient > | RawUnivariatePolynomial |
| typedef carl::FactorizedPolynomial< RawPolynomial > | Polynomial |
| typedef carl::RationalFunction< Polynomial, true > | RationalFunction |
| using | OptimizationDirection = solver::OptimizationDirection |
| using | UncertaintyResolutionModeSetting = solver::UncertaintyResolutionModeSetting |
| using | UncertaintyResolutionMode = solver::UncertaintyResolutionMode |
| using | ExtendedRationalNumber = storm::utility::ExtendedValueType<RationalNumber> |
| The rational number type extended with the two infinities. | |
| using | ExtendedRationalFunction = storm::utility::ExtendedValueType<RationalFunction> |
| The rational function type extended with the two infinities. | |
Enumerations | |
| enum class | CertificateAlgorithm { FpII , FpSmoothII , FpRoundII , ExPI } |
| The algorithms that can be used to compute the values underlying a certificate. More... | |
| enum class | ConditionalAlgorithmSetting { Default , Restart , Bisection , BisectionAdvanced , BisectionPolicyTracking , BisectionAdvancedPolicyTracking , PolicyIteration } |
| enum class | SteadyStateDistributionAlgorithm { Automatic , EquationSystem , ExpectedVisitingTimes , Classic } |
Functions | |
| template<typename ValueType> | |
| bool | isJsonNumberExportAccurate (storm::json< ValueType > const &j) |
| template<typename ValueType, typename CallBack> | |
| void | json_for_each_number_float (storm::json< ValueType > const &j, CallBack const &f) |
| template<typename ValueType> | |
| void | warnIfJsonExportNotAccurate (storm::json< ValueType > const &j) |
| template<typename ValueType> | |
| std::string | dumpJson (storm::json< ValueType > const &j, bool compact=false) |
| Dumps the given json object, producing a String. | |
| template std::string | dumpJson (storm::json< double > const &j, bool compact=false) |
| template std::string | dumpJson (storm::json< storm::RationalNumber > const &j, bool compact=false) |
| RationalFunctionVariable | createRFVariable (std::string const &name) |
| RationalFunctionVariable | findRFVariable (std::string const &name) |
| Retrieves the (already existing) rational-function variable with the given name. | |
| void | clearRFVariablePool () |
| Clears the global pool of rational-function variables. | |
| template SylvanDdManagerEnvironment & | DdEnvironment::get< storm::dd::DdType::Sylvan > () |
| template CuddDdManagerEnvironment & | DdEnvironment::get< storm::dd::DdType::CUDD > () |
| std::ostream & | operator<< (std::ostream &stream, CertificateAlgorithm const &algorithm) |
| CertificateAlgorithm | certificateAlgorithmFromString (std::string const &algorithm) |
| std::ostream & | operator<< (std::ostream &stream, ConditionalAlgorithmSetting const &algorithm) |
| ConditionalAlgorithmSetting | conditionalAlgorithmSettingFromString (std::string const &algorithm) |
| template<class T> | |
| OptionalRef (T &) -> OptionalRef< T > | |
| deduction guides | |
Variables | |
| template<typename ValueType> | |
| constexpr bool | IsIntervalType = detail::IntervalMetaProgrammingHelper<ValueType>::isInterval |
| Helper to check if a type is an interval. | |
| constexpr NullRefType | NullRef {0} |
The contract of a DD backend.
A backend provides full specializations the concepts below for
Some operations could in principle be derived from other operations. Currently, they are implemented natively.
The member semantics are documented in the CUDD/Sylvan headers. The generic layer (Bdd.cpp, Add.cpp, DdManager.cpp) defines what is relied upon.
| using storm::BoundType = carl::BoundType |
Type describing the interval bounds.
Definition at line 27 of file IntervalAdapter.h.
| typedef carl::Relation storm::CompareRelation |
Definition at line 56 of file RationalFunctionAdapter.h.
The rational function type extended with the two infinities.
Like a rational number, a rational function has no infinity of its own, so this is what a result of that value type is held in.
Definition at line 708 of file ExtendedNumber.h.
| using storm::ExtendedRationalNumber = storm::utility::ExtendedValueType<RationalNumber> |
The rational number type extended with the two infinities.
A rational number has no infinity of its own, so this is what a result of that value type is held in. It has a name because it is written often.
Definition at line 702 of file ExtendedNumber.h.
| typedef carl::Interval<double> storm::Interval |
Interval type.
Definition at line 15 of file IntervalForward.h.
| using storm::IntervalBaseType = typename detail::IntervalMetaProgrammingHelper<ValueType>::BaseType |
Helper to access the type in which interval boundaries are stored.
Yields the type identity if the given type is not an interval
Definition at line 47 of file IntervalForward.h.
| using storm::json = nlohmann::basic_json<std::map, std::vector, std::string, bool, int64_t, uint64_t, ValueType> |
Definition at line 11 of file JsonForward.h.
Definition at line 29 of file OptimizationDirection.h.
Definition at line 46 of file RationalFunctionForward.h.
| typedef carl::RationalFunction<Polynomial, true> storm::RationalFunction |
Definition at line 47 of file RationalFunctionForward.h.
| typedef carl::Variable storm::RationalFunctionVariable |
Definition at line 26 of file RationalFunctionForward.h.
| typedef carl::Interval<storm::RationalNumber> storm::RationalInterval |
Definition at line 16 of file IntervalForward.h.
| typedef carl::MultivariatePolynomial<RationalFunctionCoefficient> storm::RawPolynomial |
Definition at line 44 of file RationalFunctionForward.h.
| typedef carl::Cache<carl::PolynomialFactorizationPair<RawPolynomial> > storm::RawPolynomialCache |
Definition at line 55 of file RationalFunctionAdapter.h.
| typedef carl::UnivariatePolynomial<RationalFunctionCoefficient> storm::RawUnivariatePolynomial |
Definition at line 45 of file RationalFunctionForward.h.
Definition at line 24 of file UncertaintyResolutionMode.h.
Definition at line 23 of file UncertaintyResolutionMode.h.
|
strong |
The algorithms that can be used to compute the values underlying a certificate.
The resulting certificate is not necessarily valid, e.g., due to floating point errors or conversions between value types. This is a deliberate tradeoff between speed and correctness. Invalid certificates are detected by Certificate::checkValidity.
| Enumerator | |
|---|---|
| FpII | |
| FpSmoothII | Interval iteration with floating point numbers. |
| FpRoundII | Smooth interval iteration with floating point numbers. |
| ExPI | Interval iteration with floating point numbers where lower bounds are rounded towards the sound direction. Policy iteration with exact (rational) numbers |
Definition at line 14 of file CertificateAlgorithm.h.
|
strong |
| Enumerator | |
|---|---|
| Default | |
| Restart | |
| Bisection | |
| BisectionAdvanced | |
| BisectionPolicyTracking | |
| BisectionAdvancedPolicyTracking | |
| PolicyIteration | |
Definition at line 8 of file ConditionalAlgorithmSetting.h.
|
strong |
| Enumerator | |
|---|---|
| Automatic | |
| EquationSystem | |
| ExpectedVisitingTimes | |
| Classic | |
Definition at line 4 of file SteadyStateDistributionAlgorithm.h.
| CertificateAlgorithm storm::certificateAlgorithmFromString | ( | std::string const & | algorithm | ) |
Definition at line 23 of file CertificateAlgorithm.cpp.
| void storm::clearRFVariablePool | ( | ) |
Clears the global pool of rational-function variables.
This is mainly used to reset the global state in-between tests.
Definition at line 12 of file RationalFunctionAdapter.cpp.
| ConditionalAlgorithmSetting storm::conditionalAlgorithmSettingFromString | ( | std::string const & | algorithm | ) |
Definition at line 25 of file ConditionalAlgorithmSetting.cpp.
| RationalFunctionVariable storm::createRFVariable | ( | std::string const & | name | ) |
Definition at line 4 of file RationalFunctionAdapter.cpp.
| template CuddDdManagerEnvironment & storm::DdEnvironment::get< storm::dd::DdType::CUDD > | ( | ) |
| template SylvanDdManagerEnvironment & storm::DdEnvironment::get< storm::dd::DdType::Sylvan > | ( | ) |
| template std::string storm::dumpJson | ( | storm::json< double > const & | j, |
| bool | compact = false ) |
| template std::string storm::dumpJson | ( | storm::json< storm::RationalNumber > const & | j, |
| bool | compact = false ) |
| std::string storm::dumpJson | ( | storm::json< ValueType > const & | j, |
| bool | compact = false ) |
Dumps the given json object, producing a String.
If the ValueType is exact, a warning is printed if one or more number values can not be exported (dumped) with full accuracy (e.g. there is no float for 1/3)
| j | The JSON object |
| compact | indicates whether the export should be done in compact mode (no unnecessary whitespace) |
Definition at line 60 of file JsonAdapter.cpp.
| RationalFunctionVariable storm::findRFVariable | ( | std::string const & | name | ) |
Retrieves the (already existing) rational-function variable with the given name.
| name | Variable name. |
Definition at line 8 of file RationalFunctionAdapter.cpp.
| bool storm::isJsonNumberExportAccurate | ( | storm::json< ValueType > const & | j | ) |
| j | json object, must be of float type |
Definition at line 12 of file JsonAdapter.cpp.
| void storm::json_for_each_number_float | ( | storm::json< ValueType > const & | j, |
| CallBack const & | f ) |
Definition at line 32 of file JsonAdapter.cpp.
| std::ostream & storm::operator<< | ( | std::ostream & | stream, |
| CertificateAlgorithm const & | algorithm ) |
Definition at line 8 of file CertificateAlgorithm.cpp.
| std::ostream & storm::operator<< | ( | std::ostream & | stream, |
| ConditionalAlgorithmSetting const & | algorithm ) |
Definition at line 4 of file ConditionalAlgorithmSetting.cpp.
| storm::OptionalRef | ( | T & | ) | ->OptionalRef< T > |
deduction guides
| void storm::warnIfJsonExportNotAccurate | ( | storm::json< ValueType > const & | j | ) |
Definition at line 43 of file JsonAdapter.cpp.
|
constexpr |
Helper to check if a type is an interval.
Definition at line 40 of file IntervalForward.h.
|
inlineconstexpr |
Definition at line 31 of file OptionalRef.h.