Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
AbstractionSettings.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace storm {
7namespace settings {
8namespace modules {
9
14 public:
15 enum class Method { Games, Bisimulation };
16
17 // The remaining enums are defined by the game-based abstraction library (see AbstractionOptions.h) and are merely
18 // aliased here so that the settings module stays consistent with the library's option types.
20
22
24
26
28
33
38
44 bool isUseDecompositionSet() const;
45
51 SplitMode getSplitMode() const;
52
58 bool isAddAllGuardsSet() const;
59
66
72 void setAddAllGuards(bool value);
73
79 void setAddAllInitialExpressions(bool value);
80
86 bool isUseInterpolationSet() const;
87
93 double getPrecision() const;
94
99
106
112 ReuseMode getReuseMode() const;
113
120
124 SolveMode getSolveMode() const;
125
131 uint_fast64_t getMaximalAbstractionCount() const;
132
133 /*
134 * Determines whether refinement predicates are to be ranked.
135 *
136 * @return True iff the refinement predicates are to be ranked.
137 */
139
145 bool isConstraintsSet() const;
146
152 std::string getConstraintString() const;
153
157 bool isUseEagerRefinementSet() const;
158
162 bool isDebugSet() const;
163
168
172 std::string getInjectedRefinementPredicates() const;
173
177 bool isFixPlayer1StrategySet() const;
178
182 bool isFixPlayer2StrategySet() const;
183
188
189 const static std::string moduleName;
190
191 private:
192 const static std::string methodOptionName;
193 const static std::string useDecompositionOptionName;
194 const static std::string splitModeOptionName;
195 const static std::string addAllGuardsOptionName;
196 const static std::string addInitialExpressionsOptionName;
197 const static std::string useInterpolationOptionName;
198 const static std::string precisionOptionName;
199 const static std::string relativeOptionName;
200 const static std::string pivotHeuristicOptionName;
201 const static std::string reuseResultsOptionName;
202 const static std::string restrictToRelevantStatesOptionName;
203 const static std::string solveModeOptionName;
204 const static std::string maximalAbstractionOptionName;
205 const static std::string rankRefinementPredicatesOptionName;
206 const static std::string constraintsOptionName;
207 const static std::string useEagerRefinementOptionName;
208 const static std::string debugOptionName;
209 const static std::string injectRefinementPredicatesOptionName;
210 const static std::string fixPlayer1StrategyOptionName;
211 const static std::string fixPlayer2StrategyOptionName;
212 const static std::string validBlockModeOptionName;
213};
214
215} // namespace modules
216} // namespace settings
217} // namespace storm
PivotSelectionHeuristic getPivotSelectionHeuristic() const
Retrieves the selected heuristic to select pivot blocks.
bool isUseEagerRefinementSet() const
Retrieves whether to refine eagerly.
bool isFixPlayer1StrategySet() const
Retrieves whether player 1 strategies are to be fixed.
bool isAddAllInitialExpressionsSet() const
Retrieves whether the option to add all initial expressions was set.
double getPrecision() const
Retrieves the precision that is used for detecting convergence.
SolveMode getSolveMode() const
Retrieves the mode with which to solve the games.
uint_fast64_t getMaximalAbstractionCount() const
Retrieves the maximal number of abstractions to perform until giving up on converging.
storm::gbar::abstraction::PivotSelectionHeuristic PivotSelectionHeuristic
storm::gbar::abstraction::SolveMode SolveMode
void setAddAllInitialExpressions(bool value)
Sets the option to add all initial expressions to the specified value.
std::string getInjectedRefinementPredicates() const
Retrieves a string containing refinement predicates to inject (if there are any).
SplitMode getSplitMode() const
Retrieves the selected split mode.
Method getAbstractionRefinementMethod() const
Retrieves the selected abstraction refinement method.
bool isUseInterpolationSet() const
Retrieves whether the option to use interpolation was set.
storm::gbar::abstraction::ReuseMode ReuseMode
bool isUseDecompositionSet() const
Retrieves whether the option to use the decomposition was set.
bool isAddAllGuardsSet() const
Retrieves whether the option to add all guards was set.
ValidBlockMode getValidBlockMode() const
Retrieves the selected mode to guarantee valid blocks.
void setAddAllGuards(bool value)
Sets the option to add all guards to the specified value.
bool getRelativeTerminationCriterion() const
Retrieves whether to use a relative termination criterion for detecting convergence.
bool isConstraintsSet() const
Retrieves whether the constraints option was set.
ReuseMode getReuseMode() const
Retrieves the selected reuse mode.
bool isInjectRefinementPredicatesSet() const
Retrieves whether the option to inject the refinement predicates is set.
bool isDebugSet() const
Retrieves whether the debug option was set.
AbstractionSettings()
Creates a new set of abstraction settings.
bool isFixPlayer2StrategySet() const
Retrieves whether player 2 strategies are to be fixed.
bool isRestrictToRelevantStatesSet() const
Retrieves whether only relevant states are to be considered.
storm::gbar::abstraction::ValidBlockMode ValidBlockMode
std::string getConstraintString() const
Retrieves the string that specifies additional constraints.
storm::gbar::abstraction::SplitMode SplitMode
ModuleSettings(std::string const &moduleName)
Constructs a new settings object.