12template<
typename ValueType>
15 using DFTStatePointer = std::shared_ptr<storm::dft::storage::DFTState<ValueType>>;
47template<
typename ValueType>
Importance function based on counting the number of currently failed BEs.
double getImportance(typename ImportanceFunction< ValueType >::DFTStatePointer state) const override
Get the importance for a given state.
std::pair< double, double > getImportanceRange() const override
Get the lower and upper bounds of possible importance values computed by this importance function.
Abstract class for importance functions.
std::shared_ptr< storm::dft::storage::DFTState< ValueType > > DFTStatePointer
virtual double getImportance(DFTStatePointer state) const =0
Get the importance for a given state.
virtual std::pair< double, double > getImportanceRange() const =0
Get the lower and upper bounds of possible importance values computed by this importance function.
storm::dft::storage::DFT< ValueType > const & dft
Represents a Dynamic Fault Tree.