25 std::vector<std::string>
directions = {
"min",
"max"};
62 return storm::solver::OptimizationDirection::Minimize;
65 return storm::solver::OptimizationDirection::Maximize;
78 STORM_LOG_WARN(
"Reset precision for solver to " <<
prec <<
" this is sufficient for guarantee value precision of " << (
prec) * 10 <<
'\n');
virtual std::string getValueAsString() const =0
Retrieves the value of this argument as a string.
virtual double getValueAsDouble() const =0
Retrieves the value of this argument as a double.
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< std::string > > createMultipleChoiceValidator(std::vector< std::string > const &choices)
static std::shared_ptr< ArgumentValidator< double > > createDoubleRangeValidatorIncluding(double lowerBound, double upperBound)
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.
storm::pars::FeasibilityMethod getFeasibilityMethod() const
Get the feasibility method to be used.
double getOptimalValueGuarantee() const
Retrieves the precision for the extremal value.
bool isParameterDirectionSet() const
Retrieves whether an extremal value is to be computed.
bool hasOptimalValueGuaranteeBeenSet() const
Retrieves whether an optimal value guarantee has been provided.
static const std::string moduleName
storm::solver::OptimizationDirection getParameterDirection() const
Retrieves whether to minimize or maximize over parameters.
bool isAbsolutePrecisionSet() const
Should the guarantee for the optimal value be absolute or relative.
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(message)
#define STORM_LOG_ASSERT(cond, message)
const std::string directionOptionName
const std::string guaranteeOptionName
const std::string methodOptionName
SettingsType const & getModule()
Get module.