Browse Source

DFTElement: hasOnlyStaticParents

Former-commit-id: 449222f331
tempestpy_adaptions
sjunges 9 years ago
parent
commit
c0dfaef066
  1. 10
      src/storage/dft/DFTElements.h

10
src/storage/dft/DFTElements.h

@ -119,6 +119,16 @@ namespace storm {
}
}
bool hasOnlyStaticParents() const {
for(auto const& parent : parents) {
if(!isStaticGateType(parents->type()) {
return false;
}
}
return true;
}
bool hasParents() const {
return !mParents.empty();
}

Loading…
Cancel
Save