Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
MultiObjectiveModelCheckerEnvironment.cpp
Go to the documentation of this file.
2
8
10namespace storm {
11
13 : method(storm::modelchecker::multiobjective::MultiObjectiveMethod::Pcaa),
14 precision(storm::utility::convertNumber<storm::RationalNumber>(1e-04)),
15 precisionType(PrecisionType::Absolute),
16 encodingType(EncodingType::Auto),
17 indicatorConstraints(false),
18 bsccOrderEncoding(false),
19 redundantBsccConstraints(false),
20 printResults(false) {
21 // Intentionally left empty.
22}
23
27
28storm::modelchecker::multiobjective::MultiObjectiveMethod const& MultiObjectiveModelCheckerEnvironment::getMethod() const {
29 return this->method;
30}
31
32void MultiObjectiveModelCheckerEnvironment::setMethod(storm::modelchecker::multiobjective::MultiObjectiveMethod value) {
33 this->method = value;
34}
35
37 return this->plotPathUnderApprox.is_initialized() || this->plotPathOverApprox.is_initialized() || this->plotPathParetoPoints.is_initialized();
38}
39
41 return plotPathUnderApprox;
42}
43
45 plotPathUnderApprox = path;
46}
47
49 plotPathUnderApprox = boost::none;
50}
51
53 return plotPathOverApprox;
54}
55
57 plotPathOverApprox = path;
58}
59
61 plotPathOverApprox = boost::none;
62}
63
65 return plotPathParetoPoints;
66}
67
69 plotPathParetoPoints = path;
70}
71
73 plotPathParetoPoints = boost::none;
74}
75
76storm::RationalNumber const& MultiObjectiveModelCheckerEnvironment::getPrecision() const {
77 return precision;
78}
79
80void MultiObjectiveModelCheckerEnvironment::setPrecision(storm::RationalNumber const& value) {
81 precision = value;
82}
83
87
89 precisionType = value;
90}
91
95
97 encodingType = value;
98}
99
101 return indicatorConstraints;
102}
104 indicatorConstraints = value;
105}
106
108 return bsccOrderEncoding;
109}
111 bsccOrderEncoding = value;
112}
113
115 return redundantBsccConstraints;
116}
117
119 redundantBsccConstraints = value;
120}
121
123 return approximationTradeoff.is_initialized();
124}
125
127 return approximationTradeoff.get();
128}
129
131 approximationTradeoff = value;
132}
133
135 approximationTradeoff = boost::none;
136}
137
139 return maxSteps.is_initialized();
140}
141
143 return maxSteps.get();
144}
145
147 maxSteps = value;
148}
149
151 maxSteps = boost::none;
152}
153
155 return schedulerRestriction.is_initialized();
156}
157
161
165
167 schedulerRestriction = boost::none;
168}
169
171 return printResults;
172}
173
175 printResults = value;
176}
177
178} // namespace storm
storm::modelchecker::multiobjective::MultiObjectiveMethod const & getMethod() const
void setMethod(storm::modelchecker::multiobjective::MultiObjectiveMethod value)
bool isApproximationTradeoffSet() const
Configure approximation tradeoff between accuracy of weighted sum optimization vs.
void setSchedulerRestriction(storm::storage::SchedulerClass const &value)
storm::storage::SchedulerClass const & getSchedulerRestriction() const