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