|
@ -25,7 +25,7 @@ namespace storm { |
|
|
metaVariableNames.insert(thenDd.getContainedMetaVariableNames().begin(), thenDd.getContainedMetaVariableNames().end()); |
|
|
metaVariableNames.insert(thenDd.getContainedMetaVariableNames().begin(), thenDd.getContainedMetaVariableNames().end()); |
|
|
metaVariableNames.insert(elseDd.getContainedMetaVariableNames().begin(), elseDd.getContainedMetaVariableNames().end()); |
|
|
metaVariableNames.insert(elseDd.getContainedMetaVariableNames().begin(), elseDd.getContainedMetaVariableNames().end()); |
|
|
|
|
|
|
|
|
return Dd<DdType::CUDD>(this->getDdManager(), this->getCuddAdd().Ite(thenDd.getCuddAdd(), elseDd.getCuddAdd())); |
|
|
|
|
|
|
|
|
return Dd<DdType::CUDD>(this->getDdManager(), this->getCuddAdd().Ite(thenDd.getCuddAdd(), elseDd.getCuddAdd()), metaVariableNames); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Dd<DdType::CUDD> Dd<DdType::CUDD>::operator+(Dd<DdType::CUDD> const& other) const { |
|
|
Dd<DdType::CUDD> Dd<DdType::CUDD>::operator+(Dd<DdType::CUDD> const& other) const { |
|
@ -153,6 +153,20 @@ namespace storm { |
|
|
return result; |
|
|
return result; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Dd<DdType::CUDD> Dd<DdType::CUDD>::minimum(Dd<DdType::CUDD> const& other) const { |
|
|
|
|
|
std::set<std::string> metaVariableNames(this->getContainedMetaVariableNames()); |
|
|
|
|
|
metaVariableNames.insert(other.getContainedMetaVariableNames().begin(), other.getContainedMetaVariableNames().end()); |
|
|
|
|
|
|
|
|
|
|
|
return Dd<DdType::CUDD>(this->getDdManager(), this->getCuddAdd().Minimum(other.getCuddAdd()), metaVariableNames); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Dd<DdType::CUDD> Dd<DdType::CUDD>::maximum(Dd<DdType::CUDD> const& other) const { |
|
|
|
|
|
std::set<std::string> metaVariableNames(this->getContainedMetaVariableNames()); |
|
|
|
|
|
metaVariableNames.insert(other.getContainedMetaVariableNames().begin(), other.getContainedMetaVariableNames().end()); |
|
|
|
|
|
|
|
|
|
|
|
return Dd<DdType::CUDD>(this->getDdManager(), this->getCuddAdd().Maximum(other.getCuddAdd()), metaVariableNames); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
void Dd<DdType::CUDD>::existsAbstract(std::set<std::string> const& metaVariableNames) { |
|
|
void Dd<DdType::CUDD>::existsAbstract(std::set<std::string> const& metaVariableNames) { |
|
|
Dd<DdType::CUDD> cubeDd(this->getDdManager()->getOne()); |
|
|
Dd<DdType::CUDD> cubeDd(this->getDdManager()->getOne()); |
|
|
|
|
|
|
|
|