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

Namespaces

namespace  bisimulation
namespace  backend_check
namespace  detail

Classes

class  DdManager
class  Bdd
class  Add
class  BisimulationDecomposition
class  AddIterator
struct  TypeList
 Static description of a DD backend: which optional capabilities it offers and for which value types its Internal{Bdd,Add,DdManager} specializations are actually functional. More...
struct  BackendTraits
struct  BackendTraits< DdType::CUDD >
 CUDD. More...
struct  BackendTraits< DdType::Sylvan >
 Sylvan. More...
struct  DdTypeList
 Registry of DD backends. More...
struct  FromVectorHelper
struct  FromVectorHelper< LibraryType, storm::RationalFunction >
class  InternalAdd
class  AddIterator< DdType::CUDD, ValueType >
class  InternalDdManager
class  InternalBdd
class  InternalAdd< DdType::CUDD, ValueType >
class  InternalBdd< DdType::CUDD >
class  InternalDdManager< DdType::CUDD >
class  Dd
class  DdMetaVariable
class  Odd
class  InternalAdd< DdType::Sylvan, ValueType >
class  InternalBdd< DdType::Sylvan >
class  InternalDdManager< DdType::Sylvan >
class  AddIterator< DdType::Sylvan, ValueType >

Concepts

concept  InternalBddBackend
 Contract of InternalBdd<T>.
concept  InternalAddBackend
 Contract of InternalAdd<T, ValueType>.
concept  InternalDdManagerBackend
 Contract of InternalDdManager<T>.
concept  AddIteratorBackend
 Contract of AddIterator<T, ValueType>: a single-pass input iterator over (valuation, value) pairs.

Typedefs

using RegisteredDdTypes = DdTypeList<DdType::CUDD, DdType::Sylvan>
 Register Dd types.

Enumerations

enum class  MetaVariableType { Bool , Int , BitVector }
enum class  MetaVariablePosition { Above , Below }
enum class  DdType { CUDD , Sylvan }

Functions

template<DdType LibraryType, typename ValueType>
std::ostream & operator<< (std::ostream &out, Add< LibraryType, ValueType > const &add)
template std::ostream & operator<< (std::ostream &out, Add< storm::dd::DdType::CUDD, double > const &add)
template std::ostream & operator<< (std::ostream &out, Add< storm::dd::DdType::Sylvan, double > const &add)
template std::ostream & operator<< (std::ostream &out, Add< storm::dd::DdType::Sylvan, storm::RationalNumber > const &add)
template std::ostream & operator<< (std::ostream &out, Add< storm::dd::DdType::Sylvan, storm::RationalFunction > const &add)
std::string_view ddLibraryName (DdType type)
 The name of the given backend.
template<typename F>
auto dispatchDdType (DdType type, F &&f)
 Translates the runtime value type to the compile-time constant.
template<typename ValueType, typename F>
auto dispatchDdTypeSupporting (DdType type, F &&f)
 Like dispatchDdType, but only considers backends that support the ValueType.
void getEncodingRec (Odd const &odd, uint64_t index, uint64_t offset, storm::storage::BitVector &result)
template<storm::dd::DdType DdType, typename ValueType>
std::unique_ptr< PartitionRefiner< DdType, ValueType > > createRefiner (storm::models::symbolic::Model< DdType, ValueType > const &model, Partition< DdType, ValueType > const &initialPartition, BisimulationOptions const &bisimulationOptions)

Variables

template<DdType LibraryType, typename ValueType>
constexpr bool SupportsSharpening
 Whether the Kwek-Mehlhorn sharpening is available: the backend has to support rational numbers and the ADD has to be over doubles or rational numbers.

Typedef Documentation

◆ RegisteredDdTypes

Register Dd types.

Definition at line 33 of file DdBackends.h.

Enumeration Type Documentation

◆ DdType

enum class storm::dd::DdType
strong
Enumerator
CUDD 
Sylvan 

Definition at line 5 of file DdType.h.

◆ MetaVariablePosition

Enumerator
Above 
Below 

Definition at line 20 of file DdMetaVariable.h.

◆ MetaVariableType

enum class storm::dd::MetaVariableType
strong
Enumerator
Bool 
Int 
BitVector 

Definition at line 18 of file DdMetaVariable.h.

Function Documentation

◆ createRefiner()

template<storm::dd::DdType DdType, typename ValueType>
std::unique_ptr< PartitionRefiner< DdType, ValueType > > storm::dd::createRefiner ( storm::models::symbolic::Model< DdType, ValueType > const & model,
Partition< DdType, ValueType > const & initialPartition,
BisimulationOptions const & bisimulationOptions )

Definition at line 21 of file BisimulationDecomposition.cpp.

◆ ddLibraryName()

std::string_view storm::dd::ddLibraryName ( DdType type)
inline

The name of the given backend.

Definition at line 38 of file DdBackends.h.

◆ dispatchDdType()

template<typename F>
auto storm::dd::dispatchDdType ( DdType type,
F && f )

Translates the runtime value type to the compile-time constant.

All alternatives of f must return the same type. Replaces handwritten switch (ddType) { case CUDD: ...; case Sylvan: ...; } dispatch code.

Definition at line 85 of file DdBackends.h.

◆ dispatchDdTypeSupporting()

template<typename ValueType, typename F>
auto storm::dd::dispatchDdTypeSupporting ( DdType type,
F && f )

Like dispatchDdType, but only considers backends that support the ValueType.

Throws an UnexpectedException if the given backend does not support ValueType.

Definition at line 94 of file DdBackends.h.

◆ getEncodingRec()

void storm::dd::getEncodingRec ( Odd const & odd,
uint64_t index,
uint64_t offset,
storm::storage::BitVector & result )

Definition at line 172 of file Odd.cpp.

◆ operator<<() [1/5]

template<DdType LibraryType, typename ValueType>
std::ostream & storm::dd::operator<< ( std::ostream & out,
Add< LibraryType, ValueType > const & add )

Definition at line 1150 of file Add.cpp.

◆ operator<<() [2/5]

template std::ostream & storm::dd::operator<< ( std::ostream & out,
Add< storm::dd::DdType::CUDD, double > const & add )

◆ operator<<() [3/5]

template std::ostream & storm::dd::operator<< ( std::ostream & out,
Add< storm::dd::DdType::Sylvan, double > const & add )

◆ operator<<() [4/5]

template std::ostream & storm::dd::operator<< ( std::ostream & out,
Add< storm::dd::DdType::Sylvan, storm::RationalFunction > const & add )

◆ operator<<() [5/5]

template std::ostream & storm::dd::operator<< ( std::ostream & out,
Add< storm::dd::DdType::Sylvan, storm::RationalNumber > const & add )

Variable Documentation

◆ SupportsSharpening

template<DdType LibraryType, typename ValueType>
bool storm::dd::SupportsSharpening
inlineconstexpr
Initial value:
= BackendTraits<LibraryType>::template supportsValueType<storm::RationalNumber> &&
(std::is_same_v<ValueType, double> || std::is_same_v<ValueType, storm::RationalNumber>)

Whether the Kwek-Mehlhorn sharpening is available: the backend has to support rational numbers and the ADD has to be over doubles or rational numbers.

Definition at line 34 of file Add.h.