Storm 1.11.1.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
BEConst.cpp
Go to the documentation of this file.
1#include "BEConst.h"
2
4
5namespace storm::dft {
6namespace storage {
7namespace elements {
8
9template<typename ValueType>
10ValueType BEConst<ValueType>::getUnreliability(ValueType time) const {
11 return failed() ? storm::utility::one<ValueType>() : storm::utility::zero<ValueType>();
12}
13
14// Explicitly instantiate the class.
15template class BEConst<double>;
16template class BEConst<RationalFunction>;
17
18} // namespace elements
19} // namespace storage
20} // 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:10