20const std::string GeneralSettings::helpOptionName =
"help";
21const std::string GeneralSettings::helpOptionShortName =
"h";
22const std::string GeneralSettings::versionOptionName =
"version";
23const std::string GeneralSettings::verboseOptionName =
"verbose";
24const std::string GeneralSettings::verboseOptionShortName =
"v";
25const std::string GeneralSettings::showProgressOptionName =
"progress";
26const std::string GeneralSettings::precisionOptionName =
"precision";
27const std::string GeneralSettings::precisionOptionShortName =
"eps";
28const std::string GeneralSettings::configOptionName =
"config";
29const std::string GeneralSettings::configOptionShortName =
"c";
30const std::string GeneralSettings::bisimulationOptionName =
"bisimulation";
31const std::string GeneralSettings::bisimulationOptionShortName =
"bisim";
32const std::string GeneralSettings::parametricOptionName =
"parametric";
33const std::string GeneralSettings::exactOptionName =
"exact";
34const std::string GeneralSettings::soundOptionName =
"sound";
39 .setShortName(helpOptionShortName)
43 "'frequent' for frequently used options, 'all' for the complete help, or a regular expression to show help for all matching entities.")
52 "Sets when additional information (if available) about the progress is printed.")
54 "delay",
"The delay to wait (in seconds) between emitting information (0 means never print progress).")
60 .setShortName(precisionOptionShortName)
68 "If given, this file will be read and parsed for additional configuration settings.")
69 .setShortName(configOptionShortName)
75 .setShortName(bisimulationOptionShortName)
161 "Setting the precision option with module prefix does not effect all solvers. Consider setting --"
162 << precisionOptionName <<
" instead of --" <<
moduleName <<
":" << precisionOptionName <<
".");
virtual std::string getValueAsString() const =0
Retrieves the value of this argument as a string.
virtual bool setFromStringValue(std::string const &stringValue)=0
Tries to set the value of the argument from the given string.
virtual uint_fast64_t getValueAsUnsignedInteger() const =0
Retrieves the value of this argument as an unsigned integer.
virtual double getValueAsDouble() const =0
Retrieves the value of this argument as a double.
static ArgumentBuilder createUnsignedIntegerArgument(std::string const &name, std::string const &description)
Creates an unsigned integer argument with the given parameters.
static ArgumentBuilder createDoubleArgument(std::string const &name, std::string const &description)
Creates a double argument with the given parameters.
static ArgumentBuilder createStringArgument(std::string const &name, std::string const &description)
Creates a string argument with the given parameters.
static std::shared_ptr< ArgumentValidator< double > > createDoubleRangeValidatorExcluding(double lowerBound, double upperBound)
static std::shared_ptr< ArgumentValidator< std::string > > createMultipleChoiceValidator(std::vector< std::string > const &choices)
static std::shared_ptr< ArgumentValidator< std::string > > createExistingFileValidator()
This class provides the interface to create an option...
ArgumentBase const & getArgumentByName(std::string const &argumentName) const
Returns a reference to the argument with the specified long name.
bool getHasOptionBeenSet() const
Retrieves whether the option has been set.
bool isHelpSet() const
Retrieves whether the help option was set.
bool isBisimulationSet() const
Retrieves whether the option to perform bisimulation minimization is set.
uint64_t getShowProgressDelay() const
Retrieves the delay for printing information about the exploration progress.
bool isExactSet() const
Retrieves whether the option enabling exact model checking is set and we should use infinite precisio...
std::string getConfigFilename() const
Retrieves the name of the file that is to be scanned for settings.
void finalize() override
Prepares the modules for further usage, should be called at the end of the initialization,...
bool isVerboseSet() const
Retrieves whether the verbose option was set.
bool isParametricSet() const
Retrieves whether the option enabling parametric model checking is set.
bool isVersionSet() const
Retrieves whether the version option was set.
bool isPrecisionSet() const
bool isSoundSet() const
Retrieves whether the option forcing soundnet is set.
bool isExactFinitePrecisionSet() const
Retrieves whether the option enabling exact model checking is set.
bool isShowProgressSet() const
Retrieves whether the progress option was set.
void setPrecision(std::string precision)
std::string getHelpFilterExpression() const
Retrieves the name of the module for which to show the help or "all" to indicate that the full help n...
bool isConfigSet() const
Retrieves whether the config option was set.
bool check() const override
Checks whether the settings are consistent.
GeneralSettings()
Creates a new set of general settings.
double getPrecision() const
Retrieves the precision to use for numerical operations.
static const std::string moduleName
This is the base class of the settings for a particular module.
void addOption(std::shared_ptr< Option > const &option)
Adds and registers the given option.
Option & getOption(std::string const &longName)
Retrieves the option with the given long name.
#define STORM_LOG_WARN_COND(cond, message)
SettingsType const & getModule()
Get module.