15const std::string TimeBoundedSolverSettings::maMethodOptionName =
"mamethod";
16const std::string TimeBoundedSolverSettings::precisionOptionName =
"precision";
17const std::string TimeBoundedSolverSettings::absoluteOptionName =
"absolute";
18const std::string TimeBoundedSolverSettings::unifPlusKappaOptionName =
"kappa";
21 std::vector<std::string>
maMethods = {
"imca",
"unifplus"};
39 "Sets whether the relative or the absolute error is considered for detecting convergence.")
68 return storm::solver::MaBoundedReachabilityMethod::Imca;
70 return storm::solver::MaBoundedReachabilityMethod::UnifPlus;
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 double getValueAsDouble() const =0
Retrieves the value of this argument as a double.
virtual bool wasSetFromDefaultValue() const =0
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)
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.
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.
double getPrecision() const
Retrieves the precision that is used for detecting convergence.
bool isRelativePrecision() const
Retrieves whether the convergence criterion has been set to relative or absolute.
storm::solver::MaBoundedReachabilityMethod getMaMethod() const
Retrieves the selected solving technique for time bounded reachability on Markov Automata.
TimeBoundedSolverSettings()
static const std::string moduleName
double getUnifPlusKappa() const
Retrieves the truncation factor used for unifPlus.
bool isMaMethodSetFromDefaultValue() const
Retrieves whether solving technique for time bounded reachability on Markov Automata has been set fro...
bool isPrecisionSet() const
Retrieves whether the precision has been set.
SettingsType const & getModule()
Get module.