Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
DftExplorationHeuristic.cpp
Go to the documentation of this file.
2
5
6namespace storm::dft {
7namespace builder {
8
9template<>
11 return probability;
12}
13
14template<typename ValueType>
16 STORM_LOG_THROW(false, storm::exceptions::NotImplementedException, "Heuristic 'probability' does not work for this data type.");
17}
18
19template<>
21 double difference = lowerBound - upperBound; // Lower bound is larger than upper bound
22 difference = 2 * difference / (upperBound + lowerBound);
23 return probability * difference;
24}
25
26template<typename ValueType>
28 STORM_LOG_THROW(false, storm::exceptions::NotImplementedException, "Heuristic 'bound difference' does not work for this data type.");
29}
30
31// Instantiate templates.
35
39
40} // namespace builder
41} // namespace storm::dft
#define STORM_LOG_THROW(cond, exception, message)
Definition macros.h:30