Storm
A Modern Probabilistic Model Checker
|
This class represents the settings for glpk. More...
#include <GlpkSettings.h>
Public Member Functions | |
GlpkSettings () | |
Creates a new set of glpk settings. | |
bool | isOutputSet () const |
Retrieves whether the output option was set. | |
bool | isMILPPresolverEnabled () const |
Retrieves whether the MILP Presolver should be used. | |
bool | isIntegerToleranceSet () const |
Retrieves whether the integer tolerance has been set. | |
double | getIntegerTolerance () const |
Retrieves the integer tolerance to be used. | |
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 = "glpk" |
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 settings for glpk.
Definition at line 13 of file GlpkSettings.h.
storm::settings::modules::GlpkSettings::GlpkSettings | ( | ) |
Creates a new set of glpk settings.
Definition at line 20 of file GlpkSettings.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 51 of file GlpkSettings.cpp.
double storm::settings::modules::GlpkSettings::getIntegerTolerance | ( | ) | const |
Retrieves the integer tolerance to be used.
Definition at line 47 of file GlpkSettings.cpp.
bool storm::settings::modules::GlpkSettings::isIntegerToleranceSet | ( | ) | const |
Retrieves whether the integer tolerance has been set.
Definition at line 43 of file GlpkSettings.cpp.
bool storm::settings::modules::GlpkSettings::isMILPPresolverEnabled | ( | ) | const |
Retrieves whether the MILP Presolver should be used.
Definition at line 39 of file GlpkSettings.cpp.
bool storm::settings::modules::GlpkSettings::isOutputSet | ( | ) | const |
Retrieves whether the output option was set.
Definition at line 35 of file GlpkSettings.cpp.
|
static |
Definition at line 49 of file GlpkSettings.h.