|
Storm 1.14.0.1
A Modern Probabilistic Model Checker
|
Namespaces | |
| namespace | pfinternal |
| namespace | resources |
| namespace | solver |
| namespace | parameterlifting |
| namespace | parametric |
| namespace | cstring |
| namespace | permutation |
| namespace | builder |
| namespace | combinatorics |
| namespace | detail |
| namespace | dd |
| namespace | graph |
| namespace | kwek_mehlhorn |
| namespace | numerical |
| namespace | vector |
| namespace | ksp |
| namespace | string |
Classes | |
| class | AutomaticSettings |
| class | ModelInstantiator |
| This class allows efficient instantiation of the given parametric model. More... | |
| class | ConstantsComparator |
| class | ExtendedNumber |
| A value of ValueType extended with the two infinities -infinity and +infinity. More... | |
| class | Extremum |
| Stores and manages an extremal (maximal or minimal) value. More... | |
| class | FilteredRewardModel |
| class | ProgressMeasurement |
| A class that provides convenience operations to display run times. More... | |
| class | RandomProbabilityGenerator |
| class | RandomProbabilityGenerator< double > |
| class | RandomProbabilityGenerator< storm::RationalNumber > |
| class | BernoulliDistributionGenerator |
| class | ExponentialDistributionGenerator |
| class | Stopwatch |
| A class that provides convenience operations to display run times. More... | |
Typedefs | |
| template<typename ValueType> | |
| using | ElementLess = typename detail::ElementLess<ValueType>::type |
| template<typename ValueType> | |
| using | ElementGreater = typename detail::ElementGreater<ValueType>::type |
| template<typename ValueType> | |
| using | ExtendedValueType = std::conditional_t<storm::NumberTraits<ValueType>::HasInfinity, ValueType, ExtendedNumber<ValueType>> |
| The type to use for values that may be infinite. | |
| template<typename ValueType> | |
| using | FiniteValueType = typename detail::FiniteValueType<ValueType>::type |
| The finite value type underlying a (possibly extended) type. | |
| template<typename ValueType> | |
| using | Maximum = Extremum<storm::OptimizationDirection::Maximize, ValueType> |
| template<typename ValueType> | |
| using | Minimum = Extremum<storm::OptimizationDirection::Minimize, ValueType> |
Enumerations | |
| enum class | Engine { Sparse , Hybrid , Dd , DdSparse , Exploration , AbstractionRefinement , Automatic , Unknown } |
| An enumeration of all engines. More... | |
Functions | |
| template<typename T> | |
| T | byteSwap (T const t) |
| Swaps the byte representation of the given value, (i.e., swaps endianness) Taken from https://en.cppreference.com/w/cpp/numeric/byteswap. | |
| template<typename T, bool ReverseBytes = true> | |
| T | reverseBits (T const t) |
| Swaps the bits in the bit representation of the given value. | |
| template<typename ValueType> | |
| ValueType | one () |
| template<typename ValueType> | |
| ValueType | zero () |
| template<typename ValueType> | |
| ValueType | infinity () |
| template<typename ValueType> | |
| bool | isOne (ValueType const &a) |
| template<typename ValueType> | |
| bool | isZero (ValueType const &a) |
| template<typename ValueType> | |
| bool | isNan (ValueType const &) |
| template<> | |
| bool | isNan (double const &value) |
| template<typename ValueType> | |
| bool | isApproxEqual (ValueType const &a, ValueType const &b, ValueType const &precision, bool relative) |
| template<typename ValueType> | |
| bool | isPositive (ValueType const &a) |
| template<typename ValueType> | |
| bool | isNonNegative (ValueType const &a) |
| template<typename ValueType> | |
| bool | isBetween (ValueType const &a, ValueType const &b, ValueType const &c, bool strict) |
| Compare whether a <= b <= c or a < b < c, based on the strictness parameter. | |
| template<typename ValueType> | |
| bool | isAlmostZero (ValueType const &a) |
| template<typename ValueType> | |
| bool | isAlmostOne (ValueType const &a) |
| template<typename ValueType> | |
| bool | isConstant (ValueType const &) |
| template<typename ValueType> | |
| bool | isInfinity (ValueType const &a) |
| template<typename ValueType> | |
| bool | isInteger (ValueType const &number) |
| template<> | |
| bool | isInteger (int const &) |
| template<> | |
| bool | isInteger (uint32_t const &) |
| template<> | |
| bool | isInteger (storm::storage::sparse::state_type const &) |
| template<typename TargetType, typename SourceType> | |
| TargetType | convertNumber (SourceType const &number) |
| template<> | |
| uint_fast64_t | convertNumber (double const &number) |
| template<> | |
| int_fast64_t | convertNumber (double const &number) |
| template<> | |
| double | convertNumber (uint_fast64_t const &number) |
| template<> | |
| double | convertNumber (double const &number) |
| template<> | |
| double | convertNumber (long long const &number) |
| template<> | |
| storm::storage::sparse::state_type | convertNumber (long long const &number) |
| template<typename ValueType> | |
| ValueType | simplify (ValueType value) |
| template<typename ValueType> | |
| std::pair< ValueType, ValueType > | minmax (std::vector< ValueType > const &values) |
| template<typename ValueType> | |
| ValueType | minimum (std::vector< ValueType > const &values) |
| template<typename ValueType> | |
| ValueType | maximum (std::vector< ValueType > const &values) |
| template<typename K, typename ValueType> | |
| std::pair< ValueType, ValueType > | minmax (std::map< K, ValueType > const &values) |
| template<typename K, typename ValueType> | |
| ValueType | minimum (std::map< K, ValueType > const &values) |
| template<typename K, typename ValueType> | |
| ValueType | maximum (std::map< K, ValueType > const &values) |
| template<typename ValueType> | |
| ValueType | pow (ValueType const &value, int_fast64_t exponent) |
| template<typename ValueType> | |
| ValueType | max (ValueType const &first, ValueType const &second) |
| template<typename ValueType> | |
| ValueType | min (ValueType const &first, ValueType const &second) |
| template<typename ValueType> | |
| ValueType | sqrt (ValueType const &number) |
| template<typename ValueType> | |
| ValueType | abs (ValueType const &number) |
| template<typename ValueType> | |
| ValueType | floor (ValueType const &number) |
| template<typename ValueType> | |
| ValueType | ceil (ValueType const &number) |
| template<typename ValueType> | |
| ValueType | round (ValueType const &number) |
| template<typename ValueType> | |
| ValueType | log (ValueType const &number) |
| template<typename ValueType> | |
| ValueType | log10 (ValueType const &number) |
| template<typename ValueType> | |
| ValueType | cos (ValueType const &number) |
| template<typename ValueType> | |
| ValueType | sin (ValueType const &number) |
| template<typename ValueType> | |
| uint64_t | numDigits (ValueType const &number) |
| template<typename ValueType> | |
| uint64_t | bitsize (ValueType const &number) |
| Returns the minimum number of bits to represent the given number. | |
| template<typename ValueType> | |
| NumberTraits< ValueType >::IntegerType | trunc (ValueType const &number) |
| template<typename IntegerType> | |
| IntegerType | mod (IntegerType const &first, IntegerType const &second) |
| template<typename IntegerType> | |
| std::pair< IntegerType, IntegerType > | divide (IntegerType const ÷nd, IntegerType const &divisor) |
| (Integer-)Divides the dividend by the divisor and returns the result plus the remainder. | |
| template<typename IntegerType> | |
| IntegerType | gcd (IntegerType const &first, IntegerType const &second) |
| template<typename IntegerType> | |
| IntegerType | lcm (IntegerType const &first, IntegerType const &second) |
| template<typename ValueType> | |
| std::string | to_string (ValueType const &value) |
| template<> | |
| storm::RationalFunction | infinity () |
| template<> | |
| bool | isOne (storm::RationalFunction const &a) |
| template<> | |
| bool | isOne (storm::Polynomial const &a) |
| template<> | |
| bool | isZero (storm::RationalFunction const &a) |
| template<> | |
| bool | isZero (storm::Polynomial const &a) |
| template<> | |
| bool | isConstant (storm::RationalFunction const &a) |
| template<> | |
| bool | isConstant (storm::Polynomial const &a) |
| template<> | |
| bool | isApproxEqual (storm::RationalFunction const &a, storm::RationalFunction const &b, storm::RationalFunction const &precision, bool relative) |
| template<> | |
| bool | isConstant (storm::Interval const &a) |
| template<> | |
| bool | isConstant (storm::RationalInterval const &a) |
| template<> | |
| bool | isInfinity (storm::RationalFunction const &a) |
| template<> | |
| bool | isInteger (storm::RationalFunction const &func) |
| template<> | |
| RationalFunction | convertNumber (double const &number) |
| template<> | |
| RationalFunction | convertNumber (int_fast64_t const &number) |
| template<> | |
| carl::uint | convertNumber (RationalFunction const &func) |
| template<> | |
| carl::sint | convertNumber (RationalFunction const &func) |
| template<> | |
| double | convertNumber (RationalFunction const &func) |
| template<> | |
| RationalFunction | convertNumber (RationalFunction const &number) |
| template<> | |
| RationalFunction | convertNumber (std::string const &number) |
| template<> | |
| RationalFunction | convertNumber (storm::storage::sparse::state_type const &number) |
| template<> | |
| RationalFunction & | simplify (RationalFunction &value) |
| template<> | |
| RationalFunction && | simplify (RationalFunction &&value) |
| template<> | |
| RationalFunction | simplify (RationalFunction value) |
| template<> | |
| RationalFunction & | simplify (RationalFunction &value) |
| template<> | |
| RationalFunction && | simplify (RationalFunction &&value) |
| template<> | |
| bool | isAlmostZero (storm::RationalFunction const &a) |
| template<> | |
| bool | isAlmostOne (storm::RationalFunction const &a) |
| template<> | |
| bool | isNonNegative (storm::RationalFunction const &a) |
| template<> | |
| bool | isPositive (storm::RationalFunction const &a) |
| template<> | |
| bool | isBetween (storm::RationalFunction const &a, storm::RationalFunction const &b, storm::RationalFunction const &c, bool strict) |
| template<> | |
| std::pair< storm::RationalFunction, storm::RationalFunction > | minmax (std::vector< storm::RationalFunction > const &) |
| template<> | |
| storm::RationalFunction | minimum (std::vector< storm::RationalFunction > const &) |
| template<> | |
| storm::RationalFunction | maximum (std::vector< storm::RationalFunction > const &) |
| template<> | |
| std::pair< storm::RationalFunction, storm::RationalFunction > | minmax (std::map< uint64_t, storm::RationalFunction > const &) |
| template<> | |
| storm::RationalFunction | minimum (std::map< uint64_t, storm::RationalFunction > const &) |
| template<> | |
| storm::RationalFunction | maximum (std::map< uint64_t, storm::RationalFunction > const &) |
| template<> | |
| RationalFunction | pow (RationalFunction const &value, int_fast64_t exponent) |
| template<> | |
| std::string | to_string (RationalFunction const &f) |
| template<> | |
| double | convertNumber (std::string const &value) |
| template<> | |
| storm::Interval | convertNumber (double const &number) |
| template<> | |
| storm::Interval | convertNumber (uint64_t const &number) |
| template<> | |
| storm::RationalInterval | convertNumber (double const &number) |
| template<> | |
| storm::RationalInterval | convertNumber (uint64_t const &number) |
| template<> | |
| double | convertNumber (storm::Interval const &number) |
| template<> | |
| double | convertNumber (storm::RationalInterval const &number) |
| template<> | |
| storm::Interval | convertNumber (storm::RationalInterval const &number) |
| template<> | |
| storm::RationalInterval | convertNumber (storm::Interval const &number) |
| template<> | |
| storm::Interval | abs (storm::Interval const &interval) |
| template<> | |
| storm::Interval | pow (storm::Interval const &value, int_fast64_t exponent) |
| template<> | |
| bool | isApproxEqual (storm::Interval const &a, storm::Interval const &b, storm::Interval const &precision, bool relative) |
| template<> | |
| bool | isApproxEqual (storm::RationalInterval const &a, storm::RationalInterval const &b, storm::RationalInterval const &precision, bool relative) |
| template<> | |
| storm::RationalInterval | abs (storm::RationalInterval const &interval) |
| template<> | |
| storm::RationalInterval | pow (storm::RationalInterval const &value, int_fast64_t exponent) |
| template double | one () |
| template double | zero () |
| template bool | isOne (double const &value) |
| template bool | isZero (double const &value) |
| template bool | isNonNegative (double const &value) |
| template bool | isPositive (double const &value) |
| template bool | isAlmostZero (double const &value) |
| template bool | isAlmostOne (double const &value) |
| template bool | isConstant (double const &value) |
| template bool | isInfinity (double const &value) |
| template bool | isInteger (double const &number) |
| template bool | isBetween (double const &a, double const &b, double const &c, bool strict) |
| template bool | isApproxEqual (double const &a, double const &b, double const &precision, bool relative) |
| template double | simplify (double value) |
| template std::pair< double, double > | minmax (std::vector< double > const &) |
| template double | minimum (std::vector< double > const &) |
| template double | maximum (std::vector< double > const &) |
| template std::pair< double, double > | minmax (std::map< uint64_t, double > const &) |
| template double | minimum (std::map< uint64_t, double > const &) |
| template double | maximum (std::map< uint64_t, double > const &) |
| template double | pow (double const &value, int_fast64_t exponent) |
| template double | max (double const &first, double const &second) |
| template double | min (double const &first, double const &second) |
| template double | sqrt (double const &number) |
| template double | abs (double const &number) |
| template double | floor (double const &number) |
| template double | ceil (double const &number) |
| template double | round (double const &number) |
| template double | log (double const &number) |
| template double | log10 (double const &number) |
| template double | cos (double const &number) |
| template double | sin (double const &number) |
| template NumberTraits< double >::IntegerType | trunc (double const &number) |
| template double | mod (double const &first, double const &second) |
| template std::string | to_string (double const &value) |
| template bool | isOne (int const &value) |
| template bool | isZero (int const &value) |
| template bool | isConstant (int const &value) |
| template bool | isInfinity (int const &value) |
| template bool | isNonNegative (int const &value) |
| template bool | isPositive (int const &value) |
| template bool | isApproxEqual (int const &a, int const &b, int const &precision, bool relative) |
| template bool | isBetween (int const &a, int const &b, int const &c, bool strict) |
| template bool | isOne (uint32_t const &value) |
| template bool | isZero (uint32_t const &value) |
| template bool | isConstant (uint32_t const &value) |
| template bool | isNonNegative (uint32_t const &value) |
| template bool | isPositive (uint32_t const &value) |
| template bool | isInfinity (uint32_t const &value) |
| template bool | isBetween (uint32_t const &a, uint32_t const &b, uint32_t const &c, bool strict) |
| template bool | isApproxEqual (storm::storage::sparse::state_type const &a, storm::storage::sparse::state_type const &b, storm::storage::sparse::state_type const &precision, bool relative) |
| template bool | isOne (storm::storage::sparse::state_type const &value) |
| template bool | isZero (storm::storage::sparse::state_type const &value) |
| template bool | isConstant (storm::storage::sparse::state_type const &value) |
| template bool | isPositive (storm::storage::sparse::state_type const &value) |
| template bool | isNonNegative (storm::storage::sparse::state_type const &value) |
| template bool | isInfinity (storm::storage::sparse::state_type const &value) |
| template bool | isBetween (storm::storage::sparse::state_type const &a, storm::storage::sparse::state_type const &b, storm::storage::sparse::state_type const &c, bool strict) |
| template uint64_t | bitsize (storm::storage::sparse::state_type const &number) |
| template int64_t | convertNumber (int64_t const &) |
| template unsigned long | convertNumber (long const &) |
| template bool | isNan (RationalFunction const &) |
| template bool | isOne (Interval const &value) |
| template bool | isZero (Interval const &value) |
| template bool | isInfinity (Interval const &value) |
| template bool | isAlmostZero (Interval const &value) |
| template bool | isNonNegative (Interval const &value) |
| template bool | isPositive (Interval const &value) |
| template bool | isBetween (Interval const &, Interval const &, Interval const &value, bool) |
| template std::string | to_string (storm::Interval const &value) |
| template bool | isOne (RationalInterval const &value) |
| template bool | isZero (RationalInterval const &value) |
| template bool | isInfinity (RationalInterval const &value) |
| template bool | isAlmostZero (RationalInterval const &value) |
| template bool | isNonNegative (RationalInterval const &value) |
| template bool | isPositive (RationalInterval const &value) |
| template bool | isBetween (RationalInterval const &, RationalInterval const &, RationalInterval const &value, bool) |
| template std::string | to_string (storm::RationalInterval const &value) |
| template std::pair< storm::ExtendedRationalNumber, storm::ExtendedRationalNumber > | minmax (std::vector< storm::ExtendedRationalNumber > const &values) |
| template storm::ExtendedRationalNumber | minimum (std::vector< storm::ExtendedRationalNumber > const &values) |
| template storm::ExtendedRationalNumber | maximum (std::vector< storm::ExtendedRationalNumber > const &values) |
| template std::pair< storm::ExtendedRationalNumber, storm::ExtendedRationalNumber > | minmax (std::map< uint64_t, storm::ExtendedRationalNumber > const &values) |
| template storm::ExtendedRationalNumber | minimum (std::map< uint64_t, storm::ExtendedRationalNumber > const &values) |
| template storm::ExtendedRationalNumber | maximum (std::map< uint64_t, storm::ExtendedRationalNumber > const &values) |
| template std::pair< storm::ExtendedRationalFunction, storm::ExtendedRationalFunction > | minmax (std::vector< storm::ExtendedRationalFunction > const &values) |
| template storm::ExtendedRationalFunction | minimum (std::vector< storm::ExtendedRationalFunction > const &values) |
| template storm::ExtendedRationalFunction | maximum (std::vector< storm::ExtendedRationalFunction > const &values) |
| template std::pair< storm::ExtendedRationalFunction, storm::ExtendedRationalFunction > | minmax (std::map< uint64_t, storm::ExtendedRationalFunction > const &values) |
| template storm::ExtendedRationalFunction | minimum (std::map< uint64_t, storm::ExtendedRationalFunction > const &values) |
| template storm::ExtendedRationalFunction | maximum (std::map< uint64_t, storm::ExtendedRationalFunction > const &values) |
| template<typename RationalType> | |
| bool | tryParseNumber (std::string const &input, RationalType &result) |
| Tries to parse a number from its string representation. | |
| template<typename IndexType, typename ValueType> | |
| storm::storage::MatrixEntry< IndexType, ValueType > & | simplify (storm::storage::MatrixEntry< IndexType, ValueType > &matrixEntry) |
| template<typename IndexType, typename ValueType> | |
| storm::storage::MatrixEntry< IndexType, ValueType > && | simplify (storm::storage::MatrixEntry< IndexType, ValueType > &&matrixEntry) |
| template<typename RationalType> | |
| NumberTraits< RationalType >::IntegerType | numerator (RationalType const &number) |
| template<typename RationalType> | |
| NumberTraits< RationalType >::IntegerType | denominator (RationalType const &number) |
| std::vector< Engine > | getEngines () |
| Returns a list of all available engines (excluding Unknown). | |
| std::string | toString (Engine const &engine) |
| Returns a string representation of the given engine. | |
| std::ostream & | operator<< (std::ostream &os, Engine const &engine) |
| Writes the string representation of the given engine to the given stream. | |
| Engine | engineFromString (std::string const &engineStr) |
| Parses the string representation of an engine and returns the corresponding engine. | |
| storm::builder::BuilderType | getBuilderType (storm::utility::Engine const &engine) |
| Returns the builder type used for the given engine. | |
| template<typename ValueType> | |
| bool | canHandle (storm::utility::Engine const &engine, storm::storage::SymbolicModelDescription::ModelType const &modelType, storm::modelchecker::CheckTask< storm::logic::Formula, ValueType > const &checkTask) |
| template<> | |
| bool | canHandle< storm::RationalFunction > (storm::utility::Engine const &engine, storm::storage::SymbolicModelDescription::ModelType const &modelType, storm::modelchecker::CheckTask< storm::logic::Formula, storm::RationalFunction > const &checkTask) |
| template<typename ValueType> | |
| bool | canHandle (storm::utility::Engine const &engine, std::vector< storm::jani::Property > const &properties, storm::storage::SymbolicModelDescription const &modelDescription) |
| Returns false if the given model description and one of the given properties can certainly not be handled by the given engine. | |
| template bool | canHandle< double > (storm::utility::Engine const &, std::vector< storm::jani::Property > const &, storm::storage::SymbolicModelDescription const &) |
| template bool | canHandle< storm::RationalNumber > (storm::utility::Engine const &, std::vector< storm::jani::Property > const &, storm::storage::SymbolicModelDescription const &) |
| template bool | canHandle< storm::RationalFunction > (storm::utility::Engine const &, std::vector< storm::jani::Property > const &, storm::storage::SymbolicModelDescription const &) |
| template<typename ValueType> | |
| ExtendedValueType< ValueType > | positiveInfinity () |
| template<typename ValueType> | |
| ExtendedValueType< ValueType > | negativeInfinity () |
| template<typename ValueType> | |
| ValueType const & | getFinite (ExtendedNumber< ValueType > const &value) |
| template<typename ValueType> requires (!detail::IsExtendedNumber<ValueType>::value) | |
| ValueType const & | getFinite (ValueType const &value) |
| template<typename ValueType> | |
| bool | isFinite (ExtendedNumber< ValueType > const &value) |
| template<typename ValueType> requires (!detail::IsExtendedNumber<ValueType>::value) | |
| bool | isFinite (ValueType const &value) |
| template<typename ValueType> | |
| std::vector< ValueType > | narrowFinite (std::vector< ExtendedValueType< ValueType > > &&values) |
| The counterpart of widen for a vector all of whose values are finite. | |
| template<typename ValueType> | |
| std::vector< ValueType > | narrowFinite (std::vector< ExtendedValueType< ValueType > > const &values) |
| The counterpart of widen for a vector all of whose values are finite. | |
| template<typename ValueType> | |
| std::vector< ValueType > | narrowFinite (std::vector< ExtendedValueType< ValueType > > &&values, ValueType const &defaultValue) |
| The counterpart of widen for a vector, falling back to the given value wherever a value is infinite. | |
| template<typename ValueType> | |
| ValueType | narrow (ExtendedValueType< ValueType > const &value) |
| Narrows an extended value back into the plain value type, for the interfaces that cannot hold an infinite one – a coordinate of a polytope, say. | |
| template<typename ValueType> | |
| std::vector< ExtendedValueType< ValueType > > | widen (std::vector< ValueType > &&values) |
| Widens a vector of finite values into the extended value type. | |
| template<typename ValueType> requires (!std::is_reference_v<ValueType>) | |
| ExtendedValueType< ValueType > | fromSentinel (ValueType &&value) |
| Recognises the value that storm::utility::infinity still yields for the value types that have no infinity of their own – the literal 100000000000 – and turns it into a real infinity. | |
| template<typename ValueType> | |
| std::vector< ExtendedValueType< ValueType > > | fromSentinel (std::vector< ValueType > &&values) |
| The vector form. | |
| template<typename ValueType> | |
| ExtendedValueType< ValueType > | fromSentinel (ValueType const &value) |
| template<typename ValueType> | |
| ValueType | toSentinel (ExtendedValueType< ValueType > const &value) |
| The counterpart of fromSentinel: hands an extended value back to a part of Storm that still expects the sentinel, most of all a decision diagram leaf. | |
| template<typename ValueType> requires (detail::IsExtendedNumber<ValueType>::value) | |
| ValueType | zero () |
| The generic storm::utility::zero, one and infinity are declared for every value type but defined only for the ones that are explicitly instantiated. | |
| template<typename ValueType> requires (detail::IsExtendedNumber<ValueType>::value) | |
| ValueType | one () |
| template<typename ValueType> requires (detail::IsExtendedNumber<ValueType>::value) | |
| ValueType | infinity () |
| template<typename ValueType> | |
| bool | isInfinity (ExtendedNumber< ValueType > const &number) |
| template<typename ValueType> | |
| bool | isNegativeInfinity (ExtendedNumber< ValueType > const &number) |
| template<typename ValueType> requires (!detail::IsExtendedNumber<ValueType>::value) | |
| bool | isNegativeInfinity (ValueType const &value) |
| template<typename ValueType> | |
| bool | isZero (ExtendedNumber< ValueType > const &number) |
| template<typename ValueType> | |
| bool | isOne (ExtendedNumber< ValueType > const &number) |
| template<typename ValueType> | |
| bool | isConstant (ExtendedNumber< ValueType > const &number) |
| template<typename ValueType> | |
| ExtendedNumber< ValueType > | abs (ExtendedNumber< ValueType > const &number) |
| template<typename TargetType, typename SourceType> | |
| TargetType | convertNumber (ExtendedNumber< SourceType > const &number) |
| Converts a possibly infinite value to another type, which may itself be an ExtendedNumber or a type that has its own infinity. | |
| template<typename TargetType, typename SourceType> requires (detail::IsExtendedNumber<TargetType>::value && !detail::IsExtendedNumber<SourceType>::value) | |
| TargetType | convertNumber (SourceType const &number) |
| Converts a value into an extended one. | |
| template<typename RewardModelType> | |
| FilteredRewardModel< RewardModelType > | createFilteredRewardModel (RewardModelType const &baseRewardModel, storm::logic::RewardAccumulation const &acc, bool isDiscreteTimeModel) |
| template<typename RewardModelType, typename FormulaType> | |
| FilteredRewardModel< RewardModelType > | createFilteredRewardModel (RewardModelType const &baseRewardModel, bool isDiscreteTimeModel, FormulaType const &formula) |
| template<typename ModelType, typename CheckTaskType> | |
| FilteredRewardModel< typename ModelType::RewardModelType > | createFilteredRewardModel (ModelType const &model, CheckTaskType const &checkTask) |
| void | initializeLogger () |
| Initializes the logging framework and sets up logging to console. | |
| void | setOutputDigits (int digits) |
| Set number of digits for printing output. | |
| void | setUp () |
| Performs some necessary initializations. | |
| void | cleanUp () |
| Performs some necessary clean-up. | |
| void | setOutputDigitsFromGeneralPrecision (double precision) |
| Set number of digits for printing output from given precision requirement. | |
| l3pp::LogLevel | getLogLevel () |
| Gets the global log level. | |
| void | setLogLevel (l3pp::LogLevel level) |
| Set the global log level. | |
| void | setStatisticsLogLevel (l3pp::LogLevel level) |
| Set the log level for the statistics channel, independently of the global log level. | |
| void | setProgressLogLevel (l3pp::LogLevel level) |
| Set the log level for the progress channel, independently of the global log level. | |
| void | initializeFileLogging (std::string const &logfileName) |
| Sets up the logging to file. | |
| template<std::predicate< uint64_t, uint64_t > EdgePredicate> | |
| std::optional< std::vector< uint64_t > > | findPerfectMatching (uint64_t const n, EdgePredicate &&hasEdge) |
| storm::RationalNumber | findRational (storm::RationalNumber const &lowerBound, bool lowerInclusive, storm::RationalNumber const &upperBound, bool upperInclusive) |
| Finds the "simplest" rational number in the given interval, where "simplest" means having the smallest denominator. | |
| std::ostream & | operator<< (std::ostream &out, Stopwatch const &stopwatch) |
| uint64_t | getNumberOfThreads () |
Variables | |
| constexpr const char * | STATISTICS_LOG_CHANNEL = "storm.statistics" |
| constexpr const char * | PROGRESS_LOG_CHANNEL = "storm.progress" |
| constexpr uint64_t | defaultProgressMeasurementDelay = 5 |
| using storm::utility::ElementGreater = typename detail::ElementGreater<ValueType>::type |
Definition at line 69 of file constants.h.
| using storm::utility::ElementLess = typename detail::ElementLess<ValueType>::type |
Definition at line 66 of file constants.h.
| using storm::utility::ExtendedValueType = std::conditional_t<storm::NumberTraits<ValueType>::HasInfinity, ValueType, ExtendedNumber<ValueType>> |
The type to use for values that may be infinite.
For value types that have their own infinity, this is the value type itself, so that in particular double keeps using its IEEE infinity and pays nothing for this.
Definition at line 331 of file ExtendedNumber.h.
| using storm::utility::FiniteValueType = typename detail::FiniteValueType<ValueType>::type |
The finite value type underlying a (possibly extended) type.
This is what a solver or a matrix operates on once the infinite entries have been split off.
Definition at line 357 of file ExtendedNumber.h.
| using storm::utility::Maximum = Extremum<storm::OptimizationDirection::Maximize, ValueType> |
Definition at line 166 of file Extremum.h.
| using storm::utility::Minimum = Extremum<storm::OptimizationDirection::Minimize, ValueType> |
Definition at line 168 of file Extremum.h.
|
strong |
| template double storm::utility::abs | ( | double const & | number | ) |
| ExtendedNumber< ValueType > storm::utility::abs | ( | ExtendedNumber< ValueType > const & | number | ) |
Definition at line 651 of file ExtendedNumber.h.
| storm::Interval storm::utility::abs | ( | storm::Interval const & | interval | ) |
Definition at line 1190 of file constants.cpp.
| storm::RationalInterval storm::utility::abs | ( | storm::RationalInterval const & | interval | ) |
Definition at line 1218 of file constants.cpp.
| ValueType storm::utility::abs | ( | ValueType const & | number | ) |
Definition at line 273 of file constants.cpp.
| template uint64_t storm::utility::bitsize | ( | storm::storage::sparse::state_type const & | number | ) |
| uint64_t storm::utility::bitsize | ( | ValueType const & | number | ) |
Returns the minimum number of bits to represent the given number.
Ignores sign, i.e. number and -number have the same size.
Definition at line 326 of file constants.cpp.
|
inline |
Swaps the byte representation of the given value, (i.e., swaps endianness) Taken from https://en.cppreference.com/w/cpp/numeric/byteswap.
Definition at line 16 of file bitoperations.h.
| bool storm::utility::canHandle | ( | storm::utility::Engine const & | engine, |
| std::vector< storm::jani::Property > const & | properties, | ||
| storm::storage::SymbolicModelDescription const & | modelDescription ) |
Returns false if the given model description and one of the given properties can certainly not be handled by the given engine.
Notice that the set of handable model checking queries is only overapproximated, i.e. if this returns true, the query could still be not supported by the engine. This behavior is due to the fact that we sometimes need to actually build the model in order to decide whether it is supported.
Definition at line 258 of file Engine.cpp.
| bool storm::utility::canHandle | ( | storm::utility::Engine const & | engine, |
| storm::storage::SymbolicModelDescription::ModelType const & | modelType, | ||
| storm::modelchecker::CheckTask< storm::logic::Formula, ValueType > const & | checkTask ) |
Definition at line 99 of file Engine.cpp.
| template bool storm::utility::canHandle< double > | ( | storm::utility::Engine const & | , |
| std::vector< storm::jani::Property > const & | , | ||
| storm::storage::SymbolicModelDescription const & | ) |
| template bool storm::utility::canHandle< storm::RationalFunction > | ( | storm::utility::Engine const & | , |
| std::vector< storm::jani::Property > const & | , | ||
| storm::storage::SymbolicModelDescription const & | ) |
| bool storm::utility::canHandle< storm::RationalFunction > | ( | storm::utility::Engine const & | engine, |
| storm::storage::SymbolicModelDescription::ModelType const & | modelType, | ||
| storm::modelchecker::CheckTask< storm::logic::Formula, storm::RationalFunction > const & | checkTask ) |
Definition at line 196 of file Engine.cpp.
| template bool storm::utility::canHandle< storm::RationalNumber > | ( | storm::utility::Engine const & | , |
| std::vector< storm::jani::Property > const & | , | ||
| storm::storage::SymbolicModelDescription const & | ) |
| template double storm::utility::ceil | ( | double const & | number | ) |
| ValueType storm::utility::ceil | ( | ValueType const & | number | ) |
Definition at line 283 of file constants.cpp.
| void storm::utility::cleanUp | ( | ) |
Performs some necessary clean-up.
Definition at line 37 of file initialize.cpp.
| storm::RationalInterval storm::utility::convertNumber | ( | double const & | number | ) |
Definition at line 1108 of file constants.cpp.
| storm::Interval storm::utility::convertNumber | ( | double const & | number | ) |
Definition at line 1098 of file constants.cpp.
| RationalFunction storm::utility::convertNumber | ( | double const & | number | ) |
Definition at line 919 of file constants.cpp.
| double storm::utility::convertNumber | ( | double const & | number | ) |
Definition at line 165 of file constants.cpp.
| int_fast64_t storm::utility::convertNumber | ( | double const & | number | ) |
Definition at line 155 of file constants.cpp.
| uint_fast64_t storm::utility::convertNumber | ( | double const & | number | ) |
Definition at line 150 of file constants.cpp.
| TargetType storm::utility::convertNumber | ( | ExtendedNumber< SourceType > const & | number | ) |
Converts a possibly infinite value to another type, which may itself be an ExtendedNumber or a type that has its own infinity.
This is what lets an infinite value cross value types without every call site restating what infinity means in the source and in the target type.
Definition at line 664 of file ExtendedNumber.h.
| template int64_t storm::utility::convertNumber | ( | int64_t const & | ) |
| RationalFunction storm::utility::convertNumber | ( | int_fast64_t const & | number | ) |
Definition at line 924 of file constants.cpp.
| template double storm::utility::convertNumber | ( | long const & | ) |
| storm::storage::sparse::state_type storm::utility::convertNumber | ( | long long const & | number | ) |
Definition at line 175 of file constants.cpp.
| double storm::utility::convertNumber | ( | long long const & | number | ) |
Definition at line 170 of file constants.cpp.
| double storm::utility::convertNumber | ( | RationalFunction const & | func | ) |
Definition at line 965 of file constants.cpp.
| carl::sint storm::utility::convertNumber | ( | RationalFunction const & | func | ) |
Definition at line 960 of file constants.cpp.
| carl::uint storm::utility::convertNumber | ( | RationalFunction const & | func | ) |
Definition at line 955 of file constants.cpp.
| RationalFunction storm::utility::convertNumber | ( | RationalFunction const & | number | ) |
Definition at line 970 of file constants.cpp.
| TargetType storm::utility::convertNumber | ( | SourceType const & | number | ) |
Definition at line 145 of file constants.cpp.
| TargetType storm::utility::convertNumber | ( | SourceType const & | number | ) |
Converts a value into an extended one.
If the source type has an infinity of its own it is carried over; otherwise this is just the underlying conversion followed by the implicit constructor.
Definition at line 682 of file ExtendedNumber.h.
| RationalFunction storm::utility::convertNumber | ( | std::string const & | number | ) |
Definition at line 975 of file constants.cpp.
| double storm::utility::convertNumber | ( | std::string const & | value | ) |
Definition at line 1093 of file constants.cpp.
| storm::RationalInterval storm::utility::convertNumber | ( | storm::Interval const & | number | ) |
Definition at line 1184 of file constants.cpp.
| template Interval storm::utility::convertNumber | ( | storm::Interval const & | number | ) |
Definition at line 1166 of file constants.cpp.
| storm::Interval storm::utility::convertNumber | ( | storm::RationalInterval const & | number | ) |
Definition at line 1178 of file constants.cpp.
| template RationalInterval storm::utility::convertNumber | ( | storm::RationalInterval const & | number | ) |
Definition at line 1172 of file constants.cpp.
| RationalFunction storm::utility::convertNumber | ( | storm::storage::sparse::state_type const & | number | ) |
Definition at line 980 of file constants.cpp.
| storm::RationalInterval storm::utility::convertNumber | ( | uint64_t const & | number | ) |
Definition at line 1113 of file constants.cpp.
| storm::Interval storm::utility::convertNumber | ( | uint64_t const & | number | ) |
Definition at line 1103 of file constants.cpp.
| double storm::utility::convertNumber | ( | uint_fast64_t const & | number | ) |
Definition at line 160 of file constants.cpp.
| template double storm::utility::cos | ( | double const & | number | ) |
| ValueType storm::utility::cos | ( | ValueType const & | number | ) |
Definition at line 304 of file constants.cpp.
| FilteredRewardModel< typename ModelType::RewardModelType > storm::utility::createFilteredRewardModel | ( | ModelType const & | model, |
| CheckTaskType const & | checkTask ) |
Definition at line 99 of file FilteredRewardModel.h.
| FilteredRewardModel< RewardModelType > storm::utility::createFilteredRewardModel | ( | RewardModelType const & | baseRewardModel, |
| bool | isDiscreteTimeModel, | ||
| FormulaType const & | formula ) |
Definition at line 90 of file FilteredRewardModel.h.
| FilteredRewardModel< RewardModelType > storm::utility::createFilteredRewardModel | ( | RewardModelType const & | baseRewardModel, |
| storm::logic::RewardAccumulation const & | acc, | ||
| bool | isDiscreteTimeModel ) |
Definition at line 78 of file FilteredRewardModel.h.
| NumberTraits< RationalType >::IntegerType storm::utility::denominator | ( | RationalType const & | number | ) |
| std::pair< IntegerType, IntegerType > storm::utility::divide | ( | IntegerType const & | dividend, |
| IntegerType const & | divisor ) |
(Integer-)Divides the dividend by the divisor and returns the result plus the remainder.
Definition at line 351 of file constants.cpp.
| Engine storm::utility::engineFromString | ( | std::string const & | engineStr | ) |
Parses the string representation of an engine and returns the corresponding engine.
If the engine is not found, we print an error and return Engine::Unknown.
Definition at line 64 of file Engine.cpp.
| std::optional< std::vector< uint64_t > > storm::utility::findPerfectMatching | ( | uint64_t const | n, |
| EdgePredicate && | hasEdge ) |
Definition at line 18 of file matching.h.
| storm::RationalNumber storm::utility::findRational | ( | storm::RationalNumber const & | lowerBound, |
| bool | lowerInclusive, | ||
| storm::RationalNumber const & | upperBound, | ||
| bool | upperInclusive ) |
Finds the "simplest" rational number in the given interval, where "simplest" means having the smallest denominator.
| lowerBound | The lower bound of the interval |
| lowerInclusive | Whether the lower bound itself is included |
| upperBound | the upper bound of the interval |
| upperInclusive | Whether the upper bound itself is included |
Definition at line 11 of file RationalApproximation.cpp.
| template double storm::utility::floor | ( | double const & | number | ) |
| ValueType storm::utility::floor | ( | ValueType const & | number | ) |
Definition at line 278 of file constants.cpp.
| std::vector< ExtendedValueType< ValueType > > storm::utility::fromSentinel | ( | std::vector< ValueType > && | values | ) |
The vector form.
It builds the sentinel once instead of once per element: for a value type whose infinity is a number rather than a bit pattern, constructing it allocates, and doing that per element costs more than the widening itself. The values are taken over rather than copied.
Definition at line 534 of file ExtendedNumber.h.
| ExtendedValueType< ValueType > storm::utility::fromSentinel | ( | ValueType && | value | ) |
Recognises the value that storm::utility::infinity still yields for the value types that have no infinity of their own – the literal 100000000000 – and turns it into a real infinity.
This is a bridge for the parts of Storm that still produce that sentinel, most of all the decision diagram leaves. It inherits the sentinel's weaknesses, so it is not a place to build on; it disappears together with the sentinel.
Definition at line 518 of file ExtendedNumber.h.
| ExtendedValueType< ValueType > storm::utility::fromSentinel | ( | ValueType const & | value | ) |
Definition at line 555 of file ExtendedNumber.h.
| IntegerType storm::utility::gcd | ( | IntegerType const & | first, |
| IntegerType const & | second ) |
Definition at line 356 of file constants.cpp.
| storm::builder::BuilderType storm::utility::getBuilderType | ( | Engine const & | engine | ) |
Returns the builder type used for the given engine.
Definition at line 78 of file Engine.cpp.
| std::vector< Engine > storm::utility::getEngines | ( | ) |
Returns a list of all available engines (excluding Unknown).
Definition at line 27 of file Engine.cpp.
| ValueType const & storm::utility::getFinite | ( | ExtendedNumber< ValueType > const & | value | ) |
Definition at line 389 of file ExtendedNumber.h.
| ValueType const & storm::utility::getFinite | ( | ValueType const & | value | ) |
Definition at line 395 of file ExtendedNumber.h.
| l3pp::LogLevel storm::utility::getLogLevel | ( | ) |
Gets the global log level.
Definition at line 55 of file initialize.cpp.
| uint64_t storm::utility::getNumberOfThreads | ( | ) |
Definition at line 55 of file threads.cpp.
| storm::RationalFunction storm::utility::infinity | ( | ) |
Definition at line 853 of file constants.cpp.
| ValueType storm::utility::infinity | ( | ) |
Definition at line 31 of file constants.cpp.
| ValueType storm::utility::infinity | ( | ) |
Definition at line 603 of file ExtendedNumber.h.
| void storm::utility::initializeFileLogging | ( | std::string const & | logfileName | ) |
Sets up the logging to file.
Definition at line 76 of file initialize.cpp.
| void storm::utility::initializeLogger | ( | ) |
Initializes the logging framework and sets up logging to console.
Definition at line 10 of file initialize.cpp.
| template bool storm::utility::isAlmostOne | ( | double const & | value | ) |
| bool storm::utility::isAlmostOne | ( | storm::RationalFunction const & | a | ) |
Definition at line 1014 of file constants.cpp.
| bool storm::utility::isAlmostOne | ( | ValueType const & | a | ) |
Definition at line 103 of file constants.cpp.
| template bool storm::utility::isAlmostZero | ( | double const & | value | ) |
| template bool storm::utility::isAlmostZero | ( | Interval const & | value | ) |
| template bool storm::utility::isAlmostZero | ( | RationalInterval const & | value | ) |
| bool storm::utility::isAlmostZero | ( | storm::RationalFunction const & | a | ) |
Definition at line 1009 of file constants.cpp.
| bool storm::utility::isAlmostZero | ( | ValueType const & | a | ) |
Definition at line 98 of file constants.cpp.
| template bool storm::utility::isApproxEqual | ( | double const & | a, |
| double const & | b, | ||
| double const & | precision, | ||
| bool | relative ) |
| template bool storm::utility::isApproxEqual | ( | int const & | a, |
| int const & | b, | ||
| int const & | precision, | ||
| bool | relative ) |
| bool storm::utility::isApproxEqual | ( | storm::Interval const & | a, |
| storm::Interval const & | b, | ||
| storm::Interval const & | precision, | ||
| bool | relative ) |
Definition at line 1204 of file constants.cpp.
| bool storm::utility::isApproxEqual | ( | storm::RationalFunction const & | a, |
| storm::RationalFunction const & | b, | ||
| storm::RationalFunction const & | precision, | ||
| bool | relative ) |
Definition at line 892 of file constants.cpp.
| bool storm::utility::isApproxEqual | ( | storm::RationalInterval const & | a, |
| storm::RationalInterval const & | b, | ||
| storm::RationalInterval const & | precision, | ||
| bool | relative ) |
Definition at line 1211 of file constants.cpp.
| template bool storm::utility::isApproxEqual | ( | storm::storage::sparse::state_type const & | a, |
| storm::storage::sparse::state_type const & | b, | ||
| storm::storage::sparse::state_type const & | precision, | ||
| bool | relative ) |
| bool storm::utility::isApproxEqual | ( | ValueType const & | a, |
| ValueType const & | b, | ||
| ValueType const & | precision, | ||
| bool | relative ) |
Definition at line 59 of file constants.cpp.
| template bool storm::utility::isBetween | ( | double const & | a, |
| double const & | b, | ||
| double const & | c, | ||
| bool | strict ) |
| template bool storm::utility::isBetween | ( | int const & | a, |
| int const & | b, | ||
| int const & | c, | ||
| bool | strict ) |
| template bool storm::utility::isBetween | ( | Interval const & | , |
| Interval const & | , | ||
| Interval const & | value, | ||
| bool | ) |
| template bool storm::utility::isBetween | ( | RationalInterval const & | , |
| RationalInterval const & | , | ||
| RationalInterval const & | value, | ||
| bool | ) |
| bool storm::utility::isBetween | ( | storm::RationalFunction const & | a, |
| storm::RationalFunction const & | b, | ||
| storm::RationalFunction const & | c, | ||
| bool | strict ) |
Definition at line 1029 of file constants.cpp.
| template bool storm::utility::isBetween | ( | storm::storage::sparse::state_type const & | a, |
| storm::storage::sparse::state_type const & | b, | ||
| storm::storage::sparse::state_type const & | c, | ||
| bool | strict ) |
| template bool storm::utility::isBetween | ( | uint32_t const & | a, |
| uint32_t const & | b, | ||
| uint32_t const & | c, | ||
| bool | strict ) |
| bool storm::utility::isBetween | ( | ValueType const & | a, |
| ValueType const & | b, | ||
| ValueType const & | c, | ||
| bool | strict ) |
Compare whether a <= b <= c or a < b < c, based on the strictness parameter.
Check whether a <= b <= c holds (if not strict, the default) or a < b < c (if strict).
| a | A constant value |
| b | Some value |
| c | A constant value |
| strict | Changes the type of the comparison |
Definition at line 87 of file constants.cpp.
| template bool storm::utility::isConstant | ( | double const & | value | ) |
| bool storm::utility::isConstant | ( | ExtendedNumber< ValueType > const & | number | ) |
Definition at line 646 of file ExtendedNumber.h.
| template bool storm::utility::isConstant | ( | int const & | value | ) |
| bool storm::utility::isConstant | ( | storm::Interval const & | a | ) |
Definition at line 898 of file constants.cpp.
| bool storm::utility::isConstant | ( | storm::Polynomial const & | a | ) |
Definition at line 887 of file constants.cpp.
| bool storm::utility::isConstant | ( | storm::RationalFunction const & | a | ) |
Definition at line 882 of file constants.cpp.
| bool storm::utility::isConstant | ( | storm::RationalInterval const & | a | ) |
Definition at line 903 of file constants.cpp.
| template bool storm::utility::isConstant | ( | storm::storage::sparse::state_type const & | value | ) |
| template bool storm::utility::isConstant | ( | uint32_t const & | value | ) |
| bool storm::utility::isConstant | ( | ValueType const & | ) |
Definition at line 108 of file constants.cpp.
| bool storm::utility::isFinite | ( | ExtendedNumber< ValueType > const & | value | ) |
Definition at line 403 of file ExtendedNumber.h.
| bool storm::utility::isFinite | ( | ValueType const & | value | ) |
Definition at line 409 of file ExtendedNumber.h.
| template bool storm::utility::isInfinity | ( | double const & | value | ) |
| bool storm::utility::isInfinity | ( | ExtendedNumber< ValueType > const & | number | ) |
Definition at line 612 of file ExtendedNumber.h.
| template bool storm::utility::isInfinity | ( | int const & | value | ) |
| template bool storm::utility::isInfinity | ( | Interval const & | value | ) |
| template bool storm::utility::isInfinity | ( | RationalInterval const & | value | ) |
| bool storm::utility::isInfinity | ( | storm::RationalFunction const & | a | ) |
Definition at line 908 of file constants.cpp.
| template bool storm::utility::isInfinity | ( | storm::storage::sparse::state_type const & | value | ) |
| template bool storm::utility::isInfinity | ( | uint32_t const & | value | ) |
| bool storm::utility::isInfinity | ( | ValueType const & | a | ) |
Definition at line 113 of file constants.cpp.
| template bool storm::utility::isInteger | ( | double const & | number | ) |
| bool storm::utility::isInteger | ( | int const & | ) |
Definition at line 130 of file constants.cpp.
| bool storm::utility::isInteger | ( | storm::RationalFunction const & | func | ) |
Definition at line 914 of file constants.cpp.
| bool storm::utility::isInteger | ( | storm::storage::sparse::state_type const & | ) |
Definition at line 140 of file constants.cpp.
| bool storm::utility::isInteger | ( | uint32_t const & | ) |
Definition at line 135 of file constants.cpp.
| bool storm::utility::isInteger | ( | ValueType const & | number | ) |
Definition at line 123 of file constants.cpp.
| bool storm::utility::isNan | ( | double const & | value | ) |
Definition at line 54 of file constants.cpp.
| template bool storm::utility::isNan | ( | RationalFunction const & | ) |
| bool storm::utility::isNan | ( | ValueType const & | ) |
Definition at line 49 of file constants.cpp.
| bool storm::utility::isNegativeInfinity | ( | ExtendedNumber< ValueType > const & | number | ) |
Definition at line 621 of file ExtendedNumber.h.
| bool storm::utility::isNegativeInfinity | ( | ValueType const & | value | ) |
Definition at line 627 of file ExtendedNumber.h.
| template bool storm::utility::isNonNegative | ( | double const & | value | ) |
| template bool storm::utility::isNonNegative | ( | int const & | value | ) |
| template bool storm::utility::isNonNegative | ( | Interval const & | value | ) |
| template bool storm::utility::isNonNegative | ( | RationalInterval const & | value | ) |
| bool storm::utility::isNonNegative | ( | storm::RationalFunction const & | a | ) |
Definition at line 1019 of file constants.cpp.
| template bool storm::utility::isNonNegative | ( | storm::storage::sparse::state_type const & | value | ) |
| template bool storm::utility::isNonNegative | ( | uint32_t const & | value | ) |
| bool storm::utility::isNonNegative | ( | ValueType const & | a | ) |
Definition at line 74 of file constants.cpp.
| template bool storm::utility::isOne | ( | double const & | value | ) |
| bool storm::utility::isOne | ( | ExtendedNumber< ValueType > const & | number | ) |
Definition at line 641 of file ExtendedNumber.h.
| template bool storm::utility::isOne | ( | int const & | value | ) |
| template bool storm::utility::isOne | ( | Interval const & | value | ) |
| template bool storm::utility::isOne | ( | RationalInterval const & | value | ) |
| bool storm::utility::isOne | ( | storm::Polynomial const & | a | ) |
Definition at line 867 of file constants.cpp.
| bool storm::utility::isOne | ( | storm::RationalFunction const & | a | ) |
Definition at line 862 of file constants.cpp.
| template bool storm::utility::isOne | ( | storm::storage::sparse::state_type const & | value | ) |
| template bool storm::utility::isOne | ( | uint32_t const & | value | ) |
| bool storm::utility::isOne | ( | ValueType const & | a | ) |
Definition at line 39 of file constants.cpp.
| template bool storm::utility::isPositive | ( | double const & | value | ) |
| template bool storm::utility::isPositive | ( | int const & | value | ) |
| template bool storm::utility::isPositive | ( | Interval const & | value | ) |
| template bool storm::utility::isPositive | ( | RationalInterval const & | value | ) |
| bool storm::utility::isPositive | ( | storm::RationalFunction const & | a | ) |
Definition at line 1024 of file constants.cpp.
| template bool storm::utility::isPositive | ( | storm::storage::sparse::state_type const & | value | ) |
| template bool storm::utility::isPositive | ( | uint32_t const & | value | ) |
| bool storm::utility::isPositive | ( | ValueType const & | a | ) |
Definition at line 69 of file constants.cpp.
| template bool storm::utility::isZero | ( | double const & | value | ) |
| bool storm::utility::isZero | ( | ExtendedNumber< ValueType > const & | number | ) |
Definition at line 636 of file ExtendedNumber.h.
| template bool storm::utility::isZero | ( | int const & | value | ) |
| template bool storm::utility::isZero | ( | Interval const & | value | ) |
| template bool storm::utility::isZero | ( | RationalInterval const & | value | ) |
| bool storm::utility::isZero | ( | storm::Polynomial const & | a | ) |
Definition at line 877 of file constants.cpp.
| bool storm::utility::isZero | ( | storm::RationalFunction const & | a | ) |
Definition at line 872 of file constants.cpp.
| template bool storm::utility::isZero | ( | storm::storage::sparse::state_type const & | value | ) |
| template bool storm::utility::isZero | ( | uint32_t const & | value | ) |
| bool storm::utility::isZero | ( | ValueType const & | a | ) |
Definition at line 44 of file constants.cpp.
| IntegerType storm::utility::lcm | ( | IntegerType const & | first, |
| IntegerType const & | second ) |
Definition at line 361 of file constants.cpp.
| template double storm::utility::log | ( | double const & | number | ) |
| ValueType storm::utility::log | ( | ValueType const & | number | ) |
Definition at line 294 of file constants.cpp.
| template double storm::utility::log10 | ( | double const & | number | ) |
| ValueType storm::utility::log10 | ( | ValueType const & | number | ) |
Definition at line 299 of file constants.cpp.
| template double storm::utility::max | ( | double const & | first, |
| double const & | second ) |
| ValueType storm::utility::max | ( | ValueType const & | first, |
| ValueType const & | second ) |
Definition at line 258 of file constants.cpp.
| ValueType storm::utility::maximum | ( | std::map< K, ValueType > const & | values | ) |
Definition at line 248 of file constants.cpp.
| template double storm::utility::maximum | ( | std::map< uint64_t, double > const & | ) |
| template storm::ExtendedRationalFunction storm::utility::maximum | ( | std::map< uint64_t, storm::ExtendedRationalFunction > const & | values | ) |
| template storm::ExtendedRationalNumber storm::utility::maximum | ( | std::map< uint64_t, storm::ExtendedRationalNumber > const & | values | ) |
| storm::RationalFunction storm::utility::maximum | ( | std::map< uint64_t, storm::RationalFunction > const & | ) |
Definition at line 1062 of file constants.cpp.
| template double storm::utility::maximum | ( | std::vector< double > const & | ) |
| template storm::ExtendedRationalFunction storm::utility::maximum | ( | std::vector< storm::ExtendedRationalFunction > const & | values | ) |
| template storm::ExtendedRationalNumber storm::utility::maximum | ( | std::vector< storm::ExtendedRationalNumber > const & | values | ) |
| storm::RationalFunction storm::utility::maximum | ( | std::vector< storm::RationalFunction > const & | ) |
Definition at line 1047 of file constants.cpp.
| ValueType storm::utility::maximum | ( | std::vector< ValueType > const & | values | ) |
Definition at line 215 of file constants.cpp.
| template double storm::utility::min | ( | double const & | first, |
| double const & | second ) |
| ValueType storm::utility::min | ( | ValueType const & | first, |
| ValueType const & | second ) |
Definition at line 263 of file constants.cpp.
| ValueType storm::utility::minimum | ( | std::map< K, ValueType > const & | values | ) |
Definition at line 243 of file constants.cpp.
| template double storm::utility::minimum | ( | std::map< uint64_t, double > const & | ) |
| template storm::ExtendedRationalFunction storm::utility::minimum | ( | std::map< uint64_t, storm::ExtendedRationalFunction > const & | values | ) |
| template storm::ExtendedRationalNumber storm::utility::minimum | ( | std::map< uint64_t, storm::ExtendedRationalNumber > const & | values | ) |
| storm::RationalFunction storm::utility::minimum | ( | std::map< uint64_t, storm::RationalFunction > const & | ) |
Definition at line 1057 of file constants.cpp.
| template double storm::utility::minimum | ( | std::vector< double > const & | ) |
| template storm::ExtendedRationalFunction storm::utility::minimum | ( | std::vector< storm::ExtendedRationalFunction > const & | values | ) |
| template storm::ExtendedRationalNumber storm::utility::minimum | ( | std::vector< storm::ExtendedRationalNumber > const & | values | ) |
| storm::RationalFunction storm::utility::minimum | ( | std::vector< storm::RationalFunction > const & | ) |
Definition at line 1042 of file constants.cpp.
| ValueType storm::utility::minimum | ( | std::vector< ValueType > const & | values | ) |
Definition at line 203 of file constants.cpp.
| std::pair< ValueType, ValueType > storm::utility::minmax | ( | std::map< K, ValueType > const & | values | ) |
Definition at line 227 of file constants.cpp.
| template std::pair< double, double > storm::utility::minmax | ( | std::map< uint64_t, double > const & | ) |
| template std::pair< storm::ExtendedRationalFunction, storm::ExtendedRationalFunction > storm::utility::minmax | ( | std::map< uint64_t, storm::ExtendedRationalFunction > const & | values | ) |
| template std::pair< storm::ExtendedRationalNumber, storm::ExtendedRationalNumber > storm::utility::minmax | ( | std::map< uint64_t, storm::ExtendedRationalNumber > const & | values | ) |
| std::pair< storm::RationalFunction, storm::RationalFunction > storm::utility::minmax | ( | std::map< uint64_t, storm::RationalFunction > const & | ) |
Definition at line 1052 of file constants.cpp.
| template std::pair< double, double > storm::utility::minmax | ( | std::vector< double > const & | ) |
| template std::pair< storm::ExtendedRationalFunction, storm::ExtendedRationalFunction > storm::utility::minmax | ( | std::vector< storm::ExtendedRationalFunction > const & | values | ) |
| template std::pair< storm::ExtendedRationalNumber, storm::ExtendedRationalNumber > storm::utility::minmax | ( | std::vector< storm::ExtendedRationalNumber > const & | values | ) |
| std::pair< storm::RationalFunction, storm::RationalFunction > storm::utility::minmax | ( | std::vector< storm::RationalFunction > const & | ) |
Definition at line 1037 of file constants.cpp.
| std::pair< ValueType, ValueType > storm::utility::minmax | ( | std::vector< ValueType > const & | values | ) |
Definition at line 187 of file constants.cpp.
| template double storm::utility::mod | ( | double const & | first, |
| double const & | second ) |
| IntegerType storm::utility::mod | ( | IntegerType const & | first, |
| IntegerType const & | second ) |
Definition at line 346 of file constants.cpp.
| ValueType storm::utility::narrow | ( | ExtendedValueType< ValueType > const & | value | ) |
Narrows an extended value back into the plain value type, for the interfaces that cannot hold an infinite one – a coordinate of a polytope, say.
A plain type that has an infinity of its own keeps the value; one that has none has nothing to narrow an infinite value to, so this throws rather than inventing a number for it.
Definition at line 481 of file ExtendedNumber.h.
| std::vector< ValueType > storm::utility::narrowFinite | ( | std::vector< ExtendedValueType< ValueType > > && | values | ) |
The counterpart of widen for a vector all of whose values are finite.
The values are taken over rather than copied.
Definition at line 424 of file ExtendedNumber.h.
| std::vector< ValueType > storm::utility::narrowFinite | ( | std::vector< ExtendedValueType< ValueType > > && | values, |
| ValueType const & | defaultValue ) |
The counterpart of widen for a vector, falling back to the given value wherever a value is infinite.
The values are taken over rather than copied.
Definition at line 462 of file ExtendedNumber.h.
| std::vector< ValueType > storm::utility::narrowFinite | ( | std::vector< ExtendedValueType< ValueType > > const & | values | ) |
The counterpart of widen for a vector all of whose values are finite.
Definition at line 443 of file ExtendedNumber.h.
| ExtendedValueType< ValueType > storm::utility::negativeInfinity | ( | ) |
Definition at line 375 of file ExtendedNumber.h.
| uint64_t storm::utility::numDigits | ( | ValueType const & | number | ) |
Definition at line 314 of file constants.cpp.
| NumberTraits< RationalType >::IntegerType storm::utility::numerator | ( | RationalType const & | number | ) |
| template double storm::utility::one | ( | ) |
| ValueType storm::utility::one | ( | ) |
Definition at line 21 of file constants.cpp.
| ValueType storm::utility::one | ( | ) |
Definition at line 597 of file ExtendedNumber.h.
| std::ostream & storm::utility::operator<< | ( | std::ostream & | os, |
| Engine const & | engine ) |
Writes the string representation of the given engine to the given stream.
Definition at line 59 of file Engine.cpp.
| std::ostream & storm::utility::operator<< | ( | std::ostream & | out, |
| Stopwatch const & | stopwatch ) |
Definition at line 68 of file Stopwatch.cpp.
| ExtendedValueType< ValueType > storm::utility::positiveInfinity | ( | ) |
Definition at line 363 of file ExtendedNumber.h.
| template double storm::utility::pow | ( | double const & | value, |
| int_fast64_t | exponent ) |
| RationalFunction storm::utility::pow | ( | RationalFunction const & | value, |
| int_fast64_t | exponent ) |
Definition at line 1067 of file constants.cpp.
| storm::Interval storm::utility::pow | ( | storm::Interval const & | value, |
| int_fast64_t | exponent ) |
Definition at line 1195 of file constants.cpp.
| storm::RationalInterval storm::utility::pow | ( | storm::RationalInterval const & | value, |
| int_fast64_t | exponent ) |
Definition at line 1223 of file constants.cpp.
| ValueType storm::utility::pow | ( | ValueType const & | value, |
| int_fast64_t | exponent ) |
Definition at line 253 of file constants.cpp.
|
inline |
Swaps the bits in the bit representation of the given value.
| ReverseBytes | If true, the byte representation is also swapped (i.e., endianness is swapped) |
Definition at line 29 of file bitoperations.h.
| template double storm::utility::round | ( | double const & | number | ) |
| ValueType storm::utility::round | ( | ValueType const & | number | ) |
Definition at line 288 of file constants.cpp.
| void storm::utility::setLogLevel | ( | l3pp::LogLevel | level | ) |
Set the global log level.
Definition at line 59 of file initialize.cpp.
| void storm::utility::setOutputDigits | ( | int | digits | ) |
Set number of digits for printing output.
| digits | Number of digits to print. |
Definition at line 28 of file initialize.cpp.
| void storm::utility::setOutputDigitsFromGeneralPrecision | ( | double | precision | ) |
Set number of digits for printing output from given precision requirement.
For a precision of 1e-n we output at least n digits.
| precision | General precision. |
Definition at line 41 of file initialize.cpp.
| void storm::utility::setProgressLogLevel | ( | l3pp::LogLevel | level | ) |
Set the log level for the progress channel, independently of the global log level.
Definition at line 72 of file initialize.cpp.
| void storm::utility::setStatisticsLogLevel | ( | l3pp::LogLevel | level | ) |
Set the log level for the statistics channel, independently of the global log level.
Definition at line 68 of file initialize.cpp.
| void storm::utility::setUp | ( | ) |
Performs some necessary initializations.
Definition at line 32 of file initialize.cpp.
| template double storm::utility::simplify | ( | double | value | ) |
| RationalFunction && storm::utility::simplify | ( | RationalFunction && | value | ) |
Definition at line 1003 of file constants.cpp.
| RationalFunction && storm::utility::simplify | ( | RationalFunction && | value | ) |
Definition at line 1003 of file constants.cpp.
| RationalFunction & storm::utility::simplify | ( | RationalFunction & | value | ) |
Definition at line 997 of file constants.cpp.
| RationalFunction & storm::utility::simplify | ( | RationalFunction & | value | ) |
Definition at line 997 of file constants.cpp.
| RationalFunction storm::utility::simplify | ( | RationalFunction | value | ) |
Definition at line 991 of file constants.cpp.
| storm::storage::MatrixEntry< IndexType, ValueType > && storm::utility::simplify | ( | storm::storage::MatrixEntry< IndexType, ValueType > && | matrixEntry | ) |
| storm::storage::MatrixEntry< IndexType, ValueType > & storm::utility::simplify | ( | storm::storage::MatrixEntry< IndexType, ValueType > & | matrixEntry | ) |
| ValueType storm::utility::simplify | ( | ValueType | value | ) |
Definition at line 180 of file constants.cpp.
| template double storm::utility::sin | ( | double const & | number | ) |
| ValueType storm::utility::sin | ( | ValueType const & | number | ) |
Definition at line 309 of file constants.cpp.
| template double storm::utility::sqrt | ( | double const & | number | ) |
| ValueType storm::utility::sqrt | ( | ValueType const & | number | ) |
Definition at line 268 of file constants.cpp.
| template std::string storm::utility::to_string | ( | double const & | value | ) |
| std::string storm::utility::to_string | ( | RationalFunction const & | f | ) |
Definition at line 1076 of file constants.cpp.
| template std::string storm::utility::to_string | ( | storm::Interval const & | value | ) |
| template std::string storm::utility::to_string | ( | storm::RationalInterval const & | value | ) |
| std::string storm::utility::to_string | ( | ValueType const & | value | ) |
Definition at line 366 of file constants.cpp.
| ValueType storm::utility::toSentinel | ( | ExtendedValueType< ValueType > const & | value | ) |
The counterpart of fromSentinel: hands an extended value back to a part of Storm that still expects the sentinel, most of all a decision diagram leaf.
The sentinel has no negative infinity, so that direction is rejected rather than silently turned into something else.
Definition at line 570 of file ExtendedNumber.h.
| std::string storm::utility::toString | ( | Engine const & | engine | ) |
Returns a string representation of the given engine.
Definition at line 35 of file Engine.cpp.
| template NumberTraits< double >::IntegerType storm::utility::trunc | ( | double const & | number | ) |
| NumberTraits< ValueType >::IntegerType storm::utility::trunc | ( | ValueType const & | number | ) |
Definition at line 341 of file constants.cpp.
| bool storm::utility::tryParseNumber | ( | std::string const & | input, |
| RationalType & | result ) |
Tries to parse a number from its string representation.
| input | String representation of the number. |
| result | The parsed number (only valid if parsing succeeded). |
| std::vector< ExtendedValueType< ValueType > > storm::utility::widen | ( | std::vector< ValueType > && | values | ) |
Widens a vector of finite values into the extended value type.
Used where a computation that cannot produce an infinite value feeds an interface that can hold one.
Definition at line 496 of file ExtendedNumber.h.
| template double storm::utility::zero | ( | ) |
| ValueType storm::utility::zero | ( | ) |
Definition at line 26 of file constants.cpp.
| ValueType storm::utility::zero | ( | ) |
The generic storm::utility::zero, one and infinity are declared for every value type but defined only for the ones that are explicitly instantiated.
These overloads are more constrained than those declarations, so they are picked for the extended types and the extended types alone.
Definition at line 591 of file ExtendedNumber.h.
|
constexpr |
Definition at line 12 of file ProgressMeasurement.h.
|
constexpr |