Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
ModelBuilderEnvironment.cpp
Go to the documentation of this file.
2
4
5namespace storm::dft {
6
8 : useSymmetryReduction(true), allowDCForRelevantEvents(false), addLabelsClaiming(false), takeFirstDependency(false), uniqueFailedBE(false) {
9 // Intentionally left empty
10}
11
13
15 return useSymmetryReduction;
16}
17
19 useSymmetryReduction = value;
20}
21
23 return allowDCForRelevantEvents;
24}
25
27 allowDCForRelevantEvents = value;
28}
29
31 return addLabelsClaiming;
32}
33
35 addLabelsClaiming = value;
36}
37
39 return maxDepth.has_value();
40}
41
43 STORM_LOG_ASSERT(isMaxDepthSet(), "MaxDepth is not set.");
44 return maxDepth.value();
45}
46
47void ModelBuilderEnvironment::setMaxDepth(uint_fast64_t value) {
48 maxDepth = value;
49}
50
52 maxDepth = std::nullopt;
53}
54
56 return takeFirstDependency;
57}
58
60 takeFirstDependency = value;
61}
62
64 return uniqueFailedBE;
65}
66
68 uniqueFailedBE = value;
69}
70
71} // namespace storm::dft
#define STORM_LOG_ASSERT(cond, message)
Definition macros.h:9