Storm
A Modern Probabilistic Model Checker
|
This class represents the bisimulation settings. More...
#include <BisimulationSettings.h>
Public Types | |
enum class | BisimulationType { Strong , Weak } |
enum class | ReuseMode { None , BlockNumbers } |
enum class | InitialPartitionMode { Regular , Finer } |
enum class | RefinementMode { Full , ChangedStates } |
Public Member Functions | |
BisimulationSettings () | |
Creates a new set of bisimulation settings. | |
bool | isStrongBisimulationSet () const |
Retrieves whether strong bisimulation is to be used. | |
bool | isWeakBisimulationSet () const |
Retrieves whether weak bisimulation is to be used. | |
bool | isQuotientFormatSetFromDefaultValue () const |
Retrieves whether the format in which the quotient is to be extracted has been set from its default value. | |
storm::dd::bisimulation::QuotientFormat | getQuotientFormat () const |
Retrieves the format in which the quotient is to be extracted. | |
bool | isUseRepresentativesSet () const |
Retrieves whether representatives for blocks are to be used instead of the block numbers. | |
bool | isUseOriginalVariablesSet () const |
Retrieves whether the extracted quotient model is supposed to use the same variables as the original model. | |
bool | useExactArithmeticInDdBisimulation () const |
Retrieves whether exact arithmetic is to be used in symbolic bisimulation minimization. | |
storm::dd::bisimulation::SignatureMode | getSignatureMode () const |
Retrieves the mode to compute signatures. | |
ReuseMode | getReuseMode () const |
Retrieves the selected reuse mode. | |
InitialPartitionMode | getInitialPartitionMode () const |
Retrieves the initial partition mode. | |
RefinementMode | getRefinementMode () const |
Retrieves the refinement mode to use. | |
virtual bool | check () const override |
Checks whether the settings are consistent. | |
![]() | |
ModuleSettings (std::string const &moduleName) | |
Constructs a new settings object. | |
virtual | ~ModuleSettings () |
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 = "bisimulation" |
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. | |
This class represents the bisimulation settings.
Definition at line 16 of file BisimulationSettings.h.
Enumerator | |
---|---|
Strong | |
Weak |
Definition at line 19 of file BisimulationSettings.h.
Enumerator | |
---|---|
Regular | |
Finer |
Definition at line 23 of file BisimulationSettings.h.
Enumerator | |
---|---|
Full | |
ChangedStates |
Definition at line 25 of file BisimulationSettings.h.
Enumerator | |
---|---|
None | |
BlockNumbers |
Definition at line 21 of file BisimulationSettings.h.
storm::settings::modules::BisimulationSettings::BisimulationSettings | ( | ) |
Creates a new set of bisimulation settings.
Definition at line 26 of file BisimulationSettings.cpp.
|
overridevirtual |
Checks whether the settings are consistent.
If they are inconsistent, an exception is thrown.
Reimplemented from storm::settings::modules::ModuleSettings.
Definition at line 176 of file BisimulationSettings.cpp.
BisimulationSettings::InitialPartitionMode storm::settings::modules::BisimulationSettings::getInitialPartitionMode | ( | ) | const |
Retrieves the initial partition mode.
Definition at line 156 of file BisimulationSettings.cpp.
storm::dd::bisimulation::QuotientFormat storm::settings::modules::BisimulationSettings::getQuotientFormat | ( | ) | const |
Retrieves the format in which the quotient is to be extracted.
NOTE: only applies to DD-based bisimulation.
Definition at line 115 of file BisimulationSettings.cpp.
BisimulationSettings::RefinementMode storm::settings::modules::BisimulationSettings::getRefinementMode | ( | ) | const |
Retrieves the refinement mode to use.
Definition at line 166 of file BisimulationSettings.cpp.
BisimulationSettings::ReuseMode storm::settings::modules::BisimulationSettings::getReuseMode | ( | ) | const |
Retrieves the selected reuse mode.
Definition at line 146 of file BisimulationSettings.cpp.
storm::dd::bisimulation::SignatureMode storm::settings::modules::BisimulationSettings::getSignatureMode | ( | ) | const |
Retrieves the mode to compute signatures.
Definition at line 136 of file BisimulationSettings.cpp.
bool storm::settings::modules::BisimulationSettings::isQuotientFormatSetFromDefaultValue | ( | ) | const |
Retrieves whether the format in which the quotient is to be extracted has been set from its default value.
Definition at line 110 of file BisimulationSettings.cpp.
bool storm::settings::modules::BisimulationSettings::isStrongBisimulationSet | ( | ) | const |
Retrieves whether strong bisimulation is to be used.
Definition at line 96 of file BisimulationSettings.cpp.
bool storm::settings::modules::BisimulationSettings::isUseOriginalVariablesSet | ( | ) | const |
Retrieves whether the extracted quotient model is supposed to use the same variables as the original model.
NOTE: only applies to DD-based bisimulation.
Definition at line 128 of file BisimulationSettings.cpp.
bool storm::settings::modules::BisimulationSettings::isUseRepresentativesSet | ( | ) | const |
Retrieves whether representatives for blocks are to be used instead of the block numbers.
NOTE: only applies to DD-based bisimulation.
Definition at line 124 of file BisimulationSettings.cpp.
bool storm::settings::modules::BisimulationSettings::isWeakBisimulationSet | ( | ) | const |
Retrieves whether weak bisimulation is to be used.
Definition at line 103 of file BisimulationSettings.cpp.
bool storm::settings::modules::BisimulationSettings::useExactArithmeticInDdBisimulation | ( | ) | const |
Retrieves whether exact arithmetic is to be used in symbolic bisimulation minimization.
Definition at line 132 of file BisimulationSettings.cpp.
|
static |
Definition at line 102 of file BisimulationSettings.h.