Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
storm::utility Namespace Reference

Namespaces

namespace  builder
 
namespace  cli
 
namespace  combinatorics
 
namespace  cstring
 
namespace  dd
 
namespace  detail
 
namespace  graph
 
namespace  jani
 
namespace  ksp
 
namespace  kwek_mehlhorn
 
namespace  math
 
namespace  matrix
 
namespace  numerical
 
namespace  parameterlifting
 
namespace  parametric
 
namespace  permutation
 
namespace  pfinternal
 
namespace  prism
 
namespace  resources
 
namespace  solver
 
namespace  stateelimination
 
namespace  string
 
namespace  vector
 

Classes

class  AutomaticSettings
 
class  BernoulliDistributionGenerator
 
class  ConstantsComparator
 
class  ConstantsComparator< ValueType, ConstantsComparatorEnablePrecision< ValueType > >
 
class  ExponentialDistributionGenerator
 
class  Extremum
 Stores and manages an extremal (maximal or minimal) value. More...
 
class  FilteredRewardModel
 
class  Hash
 
class  ModelInstantiator
 This class allows efficient instantiation of the given parametric model. More...
 
class  ProgressMeasurement
 A class that provides convenience operations to display run times. More...
 
class  RandomProbabilityGenerator
 
class  RandomProbabilityGenerator< double >
 
class  RandomProbabilityGenerator< storm::RationalNumber >
 
class  Stopwatch
 A class that provides convenience operations to display run times. More...
 
class  VectorHelper
 

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 ConstantsComparatorEnablePrecision = typename std::enable_if_t< std::is_same< ValueType, double >::value||std::is_same< ValueType, storm::RationalNumber >::value >
 
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 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 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 >
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 &dividend, IntegerType const &divisor)
 (Integer-)Divides the dividend by the divisor and returns the result plus the remainder.
 
template<typename ValueType >
std::string to_string (ValueType const &value)
 
template<>
double convertNumber (std::string const &value)
 
template<>
storm::Interval convertNumber (double const &number)
 
template<>
storm::Interval convertNumber (storm::RationalNumber const &n)
 
template<>
storm::RationalNumber convertNumber (storm::Interval const &number)
 
template<>
double convertNumber (storm::Interval const &number)
 
template<>
storm::Interval abs (storm::Interval const &interval)
 
template double one ()
 
template double zero ()
 
template double infinity ()
 
template bool isOne (double const &value)
 
template bool isZero (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 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 isOne (uint32_t const &value)
 
template bool isZero (uint32_t const &value)
 
template bool isConstant (uint32_t const &value)
 
template bool isInfinity (uint32_t const &value)
 
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 isInfinity (storm::storage::sparse::state_type const &value)
 
template unsigned long convertNumber (long const &)
 
template<typename ValueType >
std::pair< ValueType, ValueType > asFraction (ValueType const &number)
 
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< EnginegetEngines ()
 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 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 initializeFileLogging (std::string const &logfileName)
 Sets up the logging to file.
 
std::ostream & operator<< (std::ostream &out, Stopwatch const &stopwatch)
 
uint getNumberOfThreads ()
 

Typedef Documentation

◆ ConstantsComparatorEnablePrecision

template<typename ValueType >
using storm::utility::ConstantsComparatorEnablePrecision = typedef typename std::enable_if_t<std::is_same<ValueType, double>::value || std::is_same<ValueType, storm::RationalNumber>::value>

Definition at line 24 of file ConstantsComparator.h.

◆ ElementGreater

template<typename ValueType >
using storm::utility::ElementGreater = typedef typename detail::ElementGreater<ValueType>::type

Definition at line 72 of file constants.h.

◆ ElementLess

template<typename ValueType >
using storm::utility::ElementLess = typedef typename detail::ElementLess<ValueType>::type

Definition at line 69 of file constants.h.

◆ Maximum

template<typename ValueType >
using storm::utility::Maximum = typedef Extremum<storm::OptimizationDirection::Maximize, ValueType>

Definition at line 127 of file Extremum.h.

◆ Minimum

template<typename ValueType >
using storm::utility::Minimum = typedef Extremum<storm::OptimizationDirection::Minimize, ValueType>

Definition at line 129 of file Extremum.h.

Enumeration Type Documentation

◆ Engine

enum class storm::utility::Engine
strong

An enumeration of all engines.

Enumerator
Sparse 
Hybrid 
Dd 
DdSparse 
Exploration 
AbstractionRefinement 
Automatic 
Unknown 

Definition at line 31 of file Engine.h.

Function Documentation

◆ abs() [1/3]

template double storm::utility::abs ( double const &  number)

◆ abs() [2/3]

template<>
storm::Interval storm::utility::abs ( storm::Interval const &  interval)

Definition at line 954 of file constants.cpp.

◆ abs() [3/3]

template<typename ValueType >
ValueType storm::utility::abs ( ValueType const &  number)

Definition at line 226 of file constants.cpp.

◆ asFraction()

template<typename ValueType >
std::pair< ValueType, ValueType > storm::utility::asFraction ( ValueType const &  number)

◆ canHandle() [1/2]

template<typename ValueType >
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 264 of file Engine.cpp.

◆ canHandle() [2/2]

template<typename ValueType >
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 105 of file Engine.cpp.

◆ canHandle< double >()

template bool storm::utility::canHandle< double > ( storm::utility::Engine const &  ,
std::vector< storm::jani::Property > const &  ,
storm::storage::SymbolicModelDescription const &   
)

◆ canHandle< storm::RationalFunction >() [1/2]

◆ canHandle< storm::RationalFunction >() [2/2]

◆ canHandle< storm::RationalNumber >()

template bool storm::utility::canHandle< storm::RationalNumber > ( storm::utility::Engine const &  ,
std::vector< storm::jani::Property > const &  ,
storm::storage::SymbolicModelDescription const &   
)

◆ ceil() [1/2]

template double storm::utility::ceil ( double const &  number)

◆ ceil() [2/2]

template<typename ValueType >
ValueType storm::utility::ceil ( ValueType const &  number)

Definition at line 236 of file constants.cpp.

◆ cleanUp()

void storm::utility::cleanUp ( )

Performs some necessary clean-up.

Definition at line 37 of file initialize.cpp.

◆ convertNumber() [1/13]

template<>
uint_fast64_t storm::utility::convertNumber ( double const &  number)

Definition at line 103 of file constants.cpp.

◆ convertNumber() [2/13]

template<>
int_fast64_t storm::utility::convertNumber ( double const &  number)

Definition at line 108 of file constants.cpp.

◆ convertNumber() [3/13]

template<>
double storm::utility::convertNumber ( double const &  number)

Definition at line 118 of file constants.cpp.

◆ convertNumber() [4/13]

template<>
storm::Interval storm::utility::convertNumber ( double const &  number)

Definition at line 932 of file constants.cpp.

◆ convertNumber() [5/13]

template double storm::utility::convertNumber ( long const &  )

◆ convertNumber() [6/13]

template<>
double storm::utility::convertNumber ( long long const &  number)

Definition at line 123 of file constants.cpp.

◆ convertNumber() [7/13]

template<>
storm::storage::sparse::state_type storm::utility::convertNumber ( long long const &  number)

Definition at line 128 of file constants.cpp.

◆ convertNumber() [8/13]

template<typename TargetType , typename SourceType >
TargetType storm::utility::convertNumber ( SourceType const &  number)

Definition at line 98 of file constants.cpp.

◆ convertNumber() [9/13]

template<>
double storm::utility::convertNumber ( std::string const &  value)

Definition at line 927 of file constants.cpp.

◆ convertNumber() [10/13]

template<>
storm::RationalNumber storm::utility::convertNumber ( storm::Interval const &  number)

Definition at line 942 of file constants.cpp.

◆ convertNumber() [11/13]

template<>
double storm::utility::convertNumber ( storm::Interval const &  number)

Definition at line 948 of file constants.cpp.

◆ convertNumber() [12/13]

template<>
storm::Interval storm::utility::convertNumber ( storm::RationalNumber const &  n)

Definition at line 937 of file constants.cpp.

◆ convertNumber() [13/13]

template<>
double storm::utility::convertNumber ( uint_fast64_t const &  number)

Definition at line 113 of file constants.cpp.

◆ cos() [1/2]

template double storm::utility::cos ( double const &  number)

◆ cos() [2/2]

template<typename ValueType >
ValueType storm::utility::cos ( ValueType const &  number)

Definition at line 257 of file constants.cpp.

◆ createFilteredRewardModel() [1/3]

template<typename ModelType , typename CheckTaskType >
FilteredRewardModel< typename ModelType::RewardModelType > storm::utility::createFilteredRewardModel ( ModelType const &  model,
CheckTaskType const &  checkTask 
)

Definition at line 96 of file FilteredRewardModel.h.

◆ createFilteredRewardModel() [2/3]

template<typename RewardModelType , typename FormulaType >
FilteredRewardModel< RewardModelType > storm::utility::createFilteredRewardModel ( RewardModelType const &  baseRewardModel,
bool  isDiscreteTimeModel,
FormulaType const &  formula 
)

Definition at line 87 of file FilteredRewardModel.h.

◆ createFilteredRewardModel() [3/3]

template<typename RewardModelType >
FilteredRewardModel< RewardModelType > storm::utility::createFilteredRewardModel ( RewardModelType const &  baseRewardModel,
storm::logic::RewardAccumulation const &  acc,
bool  isDiscreteTimeModel 
)

Definition at line 75 of file FilteredRewardModel.h.

◆ denominator()

template<typename RationalType >
NumberTraits< RationalType >::IntegerType storm::utility::denominator ( RationalType const &  number)

◆ divide()

template<typename IntegerType >
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 277 of file constants.cpp.

◆ engineFromString()

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 70 of file Engine.cpp.

◆ floor() [1/2]

template double storm::utility::floor ( double const &  number)

◆ floor() [2/2]

template<typename ValueType >
ValueType storm::utility::floor ( ValueType const &  number)

Definition at line 231 of file constants.cpp.

◆ getBuilderType()

storm::builder::BuilderType storm::utility::getBuilderType ( Engine const &  engine)

Returns the builder type used for the given engine.

Definition at line 84 of file Engine.cpp.

◆ getEngines()

std::vector< Engine > storm::utility::getEngines ( )

Returns a list of all available engines (excluding Unknown)

Definition at line 33 of file Engine.cpp.

◆ getLogLevel()

l3pp::LogLevel storm::utility::getLogLevel ( )

Gets the global log level.

Definition at line 55 of file initialize.cpp.

◆ getNumberOfThreads()

uint storm::utility::getNumberOfThreads ( )

Definition at line 53 of file threads.cpp.

◆ infinity() [1/2]

template<typename ValueType >
ValueType storm::utility::infinity ( )

Definition at line 31 of file constants.cpp.

◆ infinity() [2/2]

template double storm::utility::infinity ( )

◆ initializeFileLogging()

void storm::utility::initializeFileLogging ( std::string const &  logfileName)

Sets up the logging to file.

Definition at line 68 of file initialize.cpp.

◆ initializeLogger()

void storm::utility::initializeLogger ( )

Initializes the logging framework and sets up logging to console.

Definition at line 10 of file initialize.cpp.

◆ isAlmostOne() [1/2]

template bool storm::utility::isAlmostOne ( double const &  value)

◆ isAlmostOne() [2/2]

template<typename ValueType >
bool storm::utility::isAlmostOne ( ValueType const &  a)

Definition at line 61 of file constants.cpp.

◆ isAlmostZero() [1/2]

template bool storm::utility::isAlmostZero ( double const &  value)

◆ isAlmostZero() [2/2]

template<typename ValueType >
bool storm::utility::isAlmostZero ( ValueType const &  a)

Definition at line 56 of file constants.cpp.

◆ isConstant() [1/5]

template bool storm::utility::isConstant ( double const &  value)

◆ isConstant() [2/5]

template bool storm::utility::isConstant ( int const &  value)

◆ isConstant() [3/5]

template bool storm::utility::isConstant ( storm::storage::sparse::state_type const &  value)

◆ isConstant() [4/5]

template bool storm::utility::isConstant ( uint32_t const &  value)

◆ isConstant() [5/5]

template<typename ValueType >
bool storm::utility::isConstant ( ValueType const &  )

Definition at line 66 of file constants.cpp.

◆ isInfinity() [1/5]

template bool storm::utility::isInfinity ( double const &  value)

◆ isInfinity() [2/5]

template bool storm::utility::isInfinity ( int const &  value)

◆ isInfinity() [3/5]

template bool storm::utility::isInfinity ( storm::storage::sparse::state_type const &  value)

◆ isInfinity() [4/5]

template bool storm::utility::isInfinity ( uint32_t const &  value)

◆ isInfinity() [5/5]

template<typename ValueType >
bool storm::utility::isInfinity ( ValueType const &  a)

Definition at line 71 of file constants.cpp.

◆ isInteger() [1/5]

template bool storm::utility::isInteger ( double const &  number)

◆ isInteger() [2/5]

template<>
bool storm::utility::isInteger ( int const &  )

Definition at line 83 of file constants.cpp.

◆ isInteger() [3/5]

template<>
bool storm::utility::isInteger ( storm::storage::sparse::state_type const &  )

Definition at line 93 of file constants.cpp.

◆ isInteger() [4/5]

template<>
bool storm::utility::isInteger ( uint32_t const &  )

Definition at line 88 of file constants.cpp.

◆ isInteger() [5/5]

template<typename ValueType >
bool storm::utility::isInteger ( ValueType const &  number)

Definition at line 76 of file constants.cpp.

◆ isNan() [1/2]

template<>
bool storm::utility::isNan ( double const &  value)

Definition at line 51 of file constants.cpp.

◆ isNan() [2/2]

template<typename ValueType >
bool storm::utility::isNan ( ValueType const &  )

Definition at line 46 of file constants.cpp.

◆ isOne() [1/5]

template bool storm::utility::isOne ( double const &  value)

◆ isOne() [2/5]

template bool storm::utility::isOne ( int const &  value)

◆ isOne() [3/5]

template bool storm::utility::isOne ( storm::storage::sparse::state_type const &  value)

◆ isOne() [4/5]

template bool storm::utility::isOne ( uint32_t const &  value)

◆ isOne() [5/5]

template<typename ValueType >
bool storm::utility::isOne ( ValueType const &  a)

Definition at line 36 of file constants.cpp.

◆ isZero() [1/5]

template bool storm::utility::isZero ( double const &  value)

◆ isZero() [2/5]

template bool storm::utility::isZero ( int const &  value)

◆ isZero() [3/5]

template bool storm::utility::isZero ( storm::storage::sparse::state_type const &  value)

◆ isZero() [4/5]

template bool storm::utility::isZero ( uint32_t const &  value)

◆ isZero() [5/5]

template<typename ValueType >
bool storm::utility::isZero ( ValueType const &  a)

Definition at line 41 of file constants.cpp.

◆ log() [1/2]

template double storm::utility::log ( double const &  number)

◆ log() [2/2]

template<typename ValueType >
ValueType storm::utility::log ( ValueType const &  number)

Definition at line 247 of file constants.cpp.

◆ log10() [1/2]

template double storm::utility::log10 ( double const &  number)

◆ log10() [2/2]

template<typename ValueType >
ValueType storm::utility::log10 ( ValueType const &  number)

Definition at line 252 of file constants.cpp.

◆ max() [1/2]

template double storm::utility::max ( double const &  first,
double const &  second 
)

◆ max() [2/2]

template<typename ValueType >
ValueType storm::utility::max ( ValueType const &  first,
ValueType const &  second 
)

Definition at line 211 of file constants.cpp.

◆ maximum() [1/4]

template<typename K , typename ValueType >
ValueType storm::utility::maximum ( std::map< K, ValueType > const &  values)

Definition at line 201 of file constants.cpp.

◆ maximum() [2/4]

template double storm::utility::maximum ( std::map< uint64_t, double > const &  )

◆ maximum() [3/4]

template double storm::utility::maximum ( std::vector< double > const &  )

◆ maximum() [4/4]

template<typename ValueType >
ValueType storm::utility::maximum ( std::vector< ValueType > const &  values)

Definition at line 168 of file constants.cpp.

◆ min() [1/2]

template double storm::utility::min ( double const &  first,
double const &  second 
)

◆ min() [2/2]

template<typename ValueType >
ValueType storm::utility::min ( ValueType const &  first,
ValueType const &  second 
)

Definition at line 216 of file constants.cpp.

◆ minimum() [1/4]

template<typename K , typename ValueType >
ValueType storm::utility::minimum ( std::map< K, ValueType > const &  values)

Definition at line 196 of file constants.cpp.

◆ minimum() [2/4]

template double storm::utility::minimum ( std::map< uint64_t, double > const &  )

◆ minimum() [3/4]

template double storm::utility::minimum ( std::vector< double > const &  )

◆ minimum() [4/4]

template<typename ValueType >
ValueType storm::utility::minimum ( std::vector< ValueType > const &  values)

Definition at line 156 of file constants.cpp.

◆ minmax() [1/4]

template<typename K , typename ValueType >
std::pair< ValueType, ValueType > storm::utility::minmax ( std::map< K, ValueType > const &  values)

Definition at line 180 of file constants.cpp.

◆ minmax() [2/4]

template std::pair< double, double > storm::utility::minmax ( std::map< uint64_t, double > const &  )

◆ minmax() [3/4]

template std::pair< double, double > storm::utility::minmax ( std::vector< double > const &  )

◆ minmax() [4/4]

template<typename ValueType >
std::pair< ValueType, ValueType > storm::utility::minmax ( std::vector< ValueType > const &  values)

Definition at line 140 of file constants.cpp.

◆ mod() [1/2]

template double storm::utility::mod ( double const &  first,
double const &  second 
)

◆ mod() [2/2]

template<typename IntegerType >
IntegerType storm::utility::mod ( IntegerType const &  first,
IntegerType const &  second 
)

Definition at line 272 of file constants.cpp.

◆ numerator()

template<typename RationalType >
NumberTraits< RationalType >::IntegerType storm::utility::numerator ( RationalType const &  number)

◆ one() [1/2]

template<typename ValueType >
ValueType storm::utility::one ( )

Definition at line 21 of file constants.cpp.

◆ one() [2/2]

template double storm::utility::one ( )

◆ operator<<() [1/2]

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 65 of file Engine.cpp.

◆ operator<<() [2/2]

std::ostream & storm::utility::operator<< ( std::ostream &  out,
Stopwatch const &  stopwatch 
)

Definition at line 68 of file Stopwatch.cpp.

◆ pow() [1/2]

template double storm::utility::pow ( double const &  value,
int_fast64_t  exponent 
)

◆ pow() [2/2]

template<typename ValueType >
ValueType storm::utility::pow ( ValueType const &  value,
int_fast64_t  exponent 
)

Definition at line 206 of file constants.cpp.

◆ round() [1/2]

template double storm::utility::round ( double const &  number)

◆ round() [2/2]

template<typename ValueType >
ValueType storm::utility::round ( ValueType const &  number)

Definition at line 241 of file constants.cpp.

◆ setLogLevel()

void storm::utility::setLogLevel ( l3pp::LogLevel  level)

Set the global log level.

Definition at line 59 of file initialize.cpp.

◆ setOutputDigits()

void storm::utility::setOutputDigits ( int  digits)

Set number of digits for printing output.

Parameters
digitsNumber of digits to print.

Definition at line 28 of file initialize.cpp.

◆ setOutputDigitsFromGeneralPrecision()

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.

Parameters
precisionGeneral precision.

Definition at line 41 of file initialize.cpp.

◆ setUp()

void storm::utility::setUp ( )

Performs some necessary initializations.

Definition at line 32 of file initialize.cpp.

◆ simplify() [1/4]

template double storm::utility::simplify ( double  value)

◆ simplify() [2/4]

template<typename IndexType , typename ValueType >
storm::storage::MatrixEntry< IndexType, ValueType > && storm::utility::simplify ( storm::storage::MatrixEntry< IndexType, ValueType > &&  matrixEntry)

◆ simplify() [3/4]

template<typename IndexType , typename ValueType >
storm::storage::MatrixEntry< IndexType, ValueType > & storm::utility::simplify ( storm::storage::MatrixEntry< IndexType, ValueType > &  matrixEntry)

◆ simplify() [4/4]

template<typename ValueType >
ValueType storm::utility::simplify ( ValueType  value)

Definition at line 133 of file constants.cpp.

◆ sin() [1/2]

template double storm::utility::sin ( double const &  number)

◆ sin() [2/2]

template<typename ValueType >
ValueType storm::utility::sin ( ValueType const &  number)

Definition at line 262 of file constants.cpp.

◆ sqrt() [1/2]

template double storm::utility::sqrt ( double const &  number)

◆ sqrt() [2/2]

template<typename ValueType >
ValueType storm::utility::sqrt ( ValueType const &  number)

Definition at line 221 of file constants.cpp.

◆ to_string() [1/2]

template std::string storm::utility::to_string ( double const &  value)

◆ to_string() [2/2]

template<typename ValueType >
std::string storm::utility::to_string ( ValueType const &  value)

Definition at line 282 of file constants.cpp.

◆ toString()

std::string storm::utility::toString ( Engine const &  engine)

Returns a string representation of the given engine.

Definition at line 41 of file Engine.cpp.

◆ trunc() [1/2]

template NumberTraits< double >::IntegerType storm::utility::trunc ( double const &  number)

◆ trunc() [2/2]

template<typename ValueType >
NumberTraits< ValueType >::IntegerType storm::utility::trunc ( ValueType const &  number)

Definition at line 267 of file constants.cpp.

◆ zero() [1/2]

template<typename ValueType >
ValueType storm::utility::zero ( )

Definition at line 26 of file constants.cpp.

◆ zero() [2/2]

template double storm::utility::zero ( )