Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
BEConst.cpp
Go to the documentation of this file.
1#include "BEConst.h"
2
3namespace storm::dft {
4namespace storage {
5namespace elements {
6
7template<typename ValueType>
8ValueType BEConst<ValueType>::getUnreliability(ValueType time) const {
9 return failed() ? storm::utility::one<ValueType>() : storm::utility::zero<ValueType>();
10}
11
12// Explicitly instantiate the class.
13template class BEConst<double>;
14template class BEConst<RationalFunction>;
15
16} // namespace elements
17} // namespace storage
18} // namespace storm::dft
BE which is either constant failed or constant failsafe.
Definition BEConst.h:14
ValueType getUnreliability(ValueType time) const override
Return the unreliability of the BE up to the given time point.
Definition BEConst.cpp:8