Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
DdEnvironment.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
8
9namespace storm {
10
13
14// Explicitly instantiated once in CoreEnvironments.cpp
15// Avoids redundant re-instantiation elsewhere
18
19// Select the sub-environment that belongs to the given DD type.
20template<storm::dd::DdType Type>
22 static_assert(Type == storm::dd::DdType::CUDD || Type == storm::dd::DdType::Sylvan, "Unhandled DD type.");
23};
24template<>
28template<>
32
34 public:
37
39 CuddDdManagerEnvironment const& cudd() const;
40
43
47 template<storm::dd::DdType Type>
49
50 template<storm::dd::DdType Type>
51 typename DdEnvironmentSelector<Type>::type const& get() const;
52
53 private:
56};
57
58} // namespace storm
DdEnvironmentSelector< Type >::type & get()
Retrieves the sub-environment belonging to the given DD type.
CuddDdManagerEnvironment & cudd()
DdEnvironmentSelector< Type >::type const & get() const
SylvanDdManagerEnvironment & sylvan()