15const std::string MultiplierSettings::multiplierTypeOptionName =
"type";
30 if (type ==
"native") {
31 return storm::solver::MultiplierType::Native;
32 }
else if (type ==
"gmmxx") {
33 return storm::solver::MultiplierType::Gmmxx;
36 STORM_LOG_THROW(
false, storm::exceptions::IllegalArgumentValueException,
"Unknown multiplier type '" << type <<
"'.");
virtual std::string getValueAsString() const =0
Retrieves the value of this argument as a string.
virtual bool getHasBeenSet() const
Retrieves whether the argument has been set.
virtual bool wasSetFromDefaultValue() const =0
static ArgumentBuilder createStringArgument(std::string const &name, std::string const &description)
Creates a string argument with the given parameters.
static std::shared_ptr< ArgumentValidator< std::string > > createMultipleChoiceValidator(std::vector< std::string > const &choices)
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.
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.
static const std::string moduleName
storm::solver::MultiplierType getMultiplierType() const
bool isMultiplierTypeSetFromDefaultValue() const
#define STORM_LOG_THROW(cond, exception, message)
SettingsType const & getModule()
Get module.