Browse Source

getRestriction added to DFT interface

Former-commit-id: ba114e4478
tempestpy_adaptions
sjunges 9 years ago
parent
commit
f562a84316
  1. 5
      src/storage/dft/DFT.h

5
src/storage/dft/DFT.h

@ -165,6 +165,11 @@ namespace storm {
assert(isDependency(index)); assert(isDependency(index));
return std::static_pointer_cast<DFTDependency<ValueType> const>(mElements[index]); return std::static_pointer_cast<DFTDependency<ValueType> const>(mElements[index]);
} }
std::shared_ptr<DFTRestriction<ValueType> const> getRestriction(size_t index) const {
assert(isRestriction(index));
return std::static_pointer_cast<DFTRestriction<ValueType> const>(mElements[index]);
}
std::vector<std::shared_ptr<DFTBE<ValueType>>> getBasicElements() const { std::vector<std::shared_ptr<DFTBE<ValueType>>> getBasicElements() const {
std::vector<std::shared_ptr<DFTBE<ValueType>>> elements; std::vector<std::shared_ptr<DFTBE<ValueType>>> elements;

Loading…
Cancel
Save