Storm
A Modern Probabilistic Model Checker
|
#include <BuildSettings.h>
Public Member Functions | |
BuildSettings () | |
Creates a new set of core settings. | |
bool | isExplorationOrderSet () const |
Retrieves whether the model exploration order was set. | |
bool | isExplorationChecksSet () const |
Retrieves whether to perform additional checks during model exploration (e.g. | |
storm::builder::ExplorationOrder | getExplorationOrder () const |
Retrieves the exploration order if it was set. | |
bool | isPrismCompatibilityEnabled () const |
Retrieves whether the PRISM compatibility mode was enabled. | |
bool | isDontFixDeadlocksSet () const |
Retrieves whether the dont-fix-deadlocks option was set. | |
std::unique_ptr< storm::settings::SettingMemento > | overrideDontFixDeadlocksSet (bool stateToSet) |
Overrides the option to not fix deadlocks by setting it to the specified value. | |
bool | isNoBuildModelSet () const |
Retrieves whether no model should be build at all, in case one just want to translate models or parse a file. | |
bool | isBuildFullModelSet () const |
Retrieves whether the full model should be build, that is, the model including all labels and rewards. | |
bool | isApplyNoMaximumProgressAssumptionSet () const |
Retrieves whether the maximum progress assumption is to be applied when building the model. | |
bool | isBuildChoiceLabelsSet () const |
Retrieves whether the choice labels should be build. | |
bool | isBuildChoiceOriginsSet () const |
Retrieves whether the choice origins should be build. | |
bool | isBuildStateValuationsSet () const |
Retrieves whether the choice labels should be build. | |
bool | isBuildObservationValuationsSet () const |
Retrieves whether the observation valuations should be build. | |
bool | isBuildOutOfBoundsStateSet () const |
Retrieves whether out of bounds state should be added. | |
bool | isAddOverlappingGuardsLabelSet () const |
Retrieves whether to build the overlapping label. | |
bool | isBuildAllLabelsSet () const |
Retrieves whether all labels should be build. | |
uint64_t | getBitsForUnboundedVariables () const |
Retrieves the number of bits that should be used to represent unbounded integer variables. | |
bool | isNoSimplifySet () const |
Retrieves whether simplification of symbolic inputs through static analysis shall be disabled. | |
bool | isLocationEliminationSet () const |
Retrieves whether location elimination is enabled. | |
uint64_t | getLocationEliminationLocationHeuristic () const |
Retrieves the location parameter of the location elimination heuristic. | |
uint64_t | getLocationEliminationEdgesHeuristic () const |
Retrieves the edge parameter of the location elimination heuristic. | |
bool | isExplorationStateLimitSet () const |
Retrieves whether an exploration state limit has been set in which case state space exploration might be stopped once the specified number is exceeded. | |
uint64_t | getExplorationStateLimit () const |
Retrieves the state limit (if set). | |
![]() | |
ModuleSettings (std::string const &moduleName) | |
Constructs a new settings object. | |
virtual | ~ModuleSettings () |
virtual bool | check () const |
Checks whether the settings are consistent. | |
virtual void | finalize () |
Prepares the modules for further usage, should be called at the end of the initialization, before checks are executed. | |
std::unique_ptr< storm::settings::SettingMemento > | overrideOption (std::string const &name, bool requiredStatus) |
Sets the option with the given name to the required status. | |
std::string const & | getModuleName () const |
Retrieves the name of the module to which these settings belong. | |
std::vector< std::shared_ptr< Option > > const & | getOptions () const |
Retrieves the options of this module. | |
uint_fast64_t | getPrintLengthOfLongestOption (bool includeAdvanced) const |
Retrieves the (print) length of the longest option. | |
void | restoreDefaults () |
Restores the default values for all arguments of all options. | |
Static Public Attributes | |
static const std::string | moduleName = "build" |
Additional Inherited Members | |
![]() | |
Option & | getOption (std::string const &longName) |
Retrieves the option with the given long name. | |
Option const & | getOption (std::string const &longName) const |
Retrieves the option with the given long name. | |
bool | isSet (std::string const &optionName) const |
Retrieves whether the option with the given name was set. | |
void | set (std::string const &name) |
Sets the option with the specified name. | |
void | unset (std::string const &name) |
Unsets the option with the specified name. | |
void | addOption (std::shared_ptr< Option > const &option) |
Adds and registers the given option. | |
Definition at line 10 of file BuildSettings.h.
storm::settings::modules::BuildSettings::BuildSettings | ( | ) |
Creates a new set of core settings.
Definition at line 44 of file BuildSettings.cpp.
uint64_t storm::settings::modules::BuildSettings::getBitsForUnboundedVariables | ( | ) | const |
Retrieves the number of bits that should be used to represent unbounded integer variables.
Definition at line 201 of file BuildSettings.cpp.
storm::builder::ExplorationOrder storm::settings::modules::BuildSettings::getExplorationOrder | ( | ) | const |
Retrieves the exploration order if it was set.
Definition at line 183 of file BuildSettings.cpp.
uint64_t storm::settings::modules::BuildSettings::getExplorationStateLimit | ( | ) | const |
Retrieves the state limit (if set).
State space exploration might be stopped once the specified number is exceeded.
Definition at line 221 of file BuildSettings.cpp.
uint64_t storm::settings::modules::BuildSettings::getLocationEliminationEdgesHeuristic | ( | ) | const |
Retrieves the edge parameter of the location elimination heuristic.
Definition at line 213 of file BuildSettings.cpp.
uint64_t storm::settings::modules::BuildSettings::getLocationEliminationLocationHeuristic | ( | ) | const |
Retrieves the location parameter of the location elimination heuristic.
Definition at line 209 of file BuildSettings.cpp.
bool storm::settings::modules::BuildSettings::isAddOverlappingGuardsLabelSet | ( | ) | const |
Retrieves whether to build the overlapping label.
Definition at line 175 of file BuildSettings.cpp.
bool storm::settings::modules::BuildSettings::isApplyNoMaximumProgressAssumptionSet | ( | ) | const |
Retrieves whether the maximum progress assumption is to be applied when building the model.
Definition at line 151 of file BuildSettings.cpp.
bool storm::settings::modules::BuildSettings::isBuildAllLabelsSet | ( | ) | const |
Retrieves whether all labels should be build.
Definition at line 179 of file BuildSettings.cpp.
bool storm::settings::modules::BuildSettings::isBuildChoiceLabelsSet | ( | ) | const |
Retrieves whether the choice labels should be build.
Definition at line 155 of file BuildSettings.cpp.
bool storm::settings::modules::BuildSettings::isBuildChoiceOriginsSet | ( | ) | const |
Retrieves whether the choice origins should be build.
Definition at line 159 of file BuildSettings.cpp.
bool storm::settings::modules::BuildSettings::isBuildFullModelSet | ( | ) | const |
Retrieves whether the full model should be build, that is, the model including all labels and rewards.
Definition at line 143 of file BuildSettings.cpp.
bool storm::settings::modules::BuildSettings::isBuildObservationValuationsSet | ( | ) | const |
Retrieves whether the observation valuations should be build.
Only relevant for POMDPs
Definition at line 167 of file BuildSettings.cpp.
bool storm::settings::modules::BuildSettings::isBuildOutOfBoundsStateSet | ( | ) | const |
Retrieves whether out of bounds state should be added.
Definition at line 171 of file BuildSettings.cpp.
bool storm::settings::modules::BuildSettings::isBuildStateValuationsSet | ( | ) | const |
Retrieves whether the choice labels should be build.
Definition at line 163 of file BuildSettings.cpp.
bool storm::settings::modules::BuildSettings::isDontFixDeadlocksSet | ( | ) | const |
Retrieves whether the dont-fix-deadlocks option was set.
Definition at line 135 of file BuildSettings.cpp.
bool storm::settings::modules::BuildSettings::isExplorationChecksSet | ( | ) | const |
Retrieves whether to perform additional checks during model exploration (e.g.
out-of-bounds, etc.).
Definition at line 193 of file BuildSettings.cpp.
bool storm::settings::modules::BuildSettings::isExplorationOrderSet | ( | ) | const |
Retrieves whether the model exploration order was set.
Definition at line 127 of file BuildSettings.cpp.
bool storm::settings::modules::BuildSettings::isExplorationStateLimitSet | ( | ) | const |
Retrieves whether an exploration state limit has been set in which case state space exploration might be stopped once the specified number is exceeded.
Definition at line 217 of file BuildSettings.cpp.
bool storm::settings::modules::BuildSettings::isLocationEliminationSet | ( | ) | const |
Retrieves whether location elimination is enabled.
Definition at line 205 of file BuildSettings.cpp.
bool storm::settings::modules::BuildSettings::isNoBuildModelSet | ( | ) | const |
Retrieves whether no model should be build at all, in case one just want to translate models or parse a file.
Definition at line 147 of file BuildSettings.cpp.
bool storm::settings::modules::BuildSettings::isNoSimplifySet | ( | ) | const |
Retrieves whether simplification of symbolic inputs through static analysis shall be disabled.
Definition at line 197 of file BuildSettings.cpp.
bool storm::settings::modules::BuildSettings::isPrismCompatibilityEnabled | ( | ) | const |
Retrieves whether the PRISM compatibility mode was enabled.
Definition at line 131 of file BuildSettings.cpp.
std::unique_ptr< storm::settings::SettingMemento > storm::settings::modules::BuildSettings::overrideDontFixDeadlocksSet | ( | bool | stateToSet | ) |
Overrides the option to not fix deadlocks by setting it to the specified value.
As soon as the returned memento goes out of scope, the original value is restored.
stateToSet | The value that is to be set for the fix-deadlocks option. |
Definition at line 139 of file BuildSettings.cpp.
|
static |
Definition at line 153 of file BuildSettings.h.