|
|
@ -607,6 +607,13 @@ namespace storm { |
|
|
|
return mtbdd_int64(value); |
|
|
|
} |
|
|
|
|
|
|
|
template<typename ValueType> |
|
|
|
MTBDD InternalAdd<DdType::Sylvan, ValueType>::getLeaf(storm::RationalFunction const& value) { |
|
|
|
storm_rational_function_ptr_struct helperStruct; |
|
|
|
helperStruct.storm_rational_function = static_cast<void*>(&value); |
|
|
|
return sylvan::Mtbdd::terminal(sylvan_storm_rational_function_get_type(), helperStruct); |
|
|
|
} |
|
|
|
|
|
|
|
template<typename ValueType> |
|
|
|
ValueType InternalAdd<DdType::Sylvan, ValueType>::getValue(MTBDD const& node) { |
|
|
|
STORM_LOG_ASSERT(mtbdd_isleaf(node), "Expected leaf, but got variable " << mtbdd_getvar(node) << "."); |
|
|
|