13const std::string CertificationSettings::produceCertificateOptionName =
"certificate";
14const std::string CertificationSettings::useTopologicalOptionName =
"topological";
15const std::string CertificationSettings::methodOptionName =
"method";
23 std::vector<std::string>
const methodNames = {
"fp-ii",
"fp-smoothii",
"fp-roundii",
"ex-pi"};
26 .setDefaultValueString(
"fp-ii")
30 .setDefaultValueDouble(0.0)
35 .setDefaultValueDouble(0.0)
63 if (this->
getOption(methodOptionName).getHasOptionBeenSet()) {
68 "The parameter gamma for smooth and rounding interval iteration must be smaller than 1.");
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.
static const std::string moduleName
double getDelta() const
The delta parameter of the algorithm.
storm::CertificateAlgorithm getAlgorithm() const
The algorithm used to compute the values underlying a certificate.
bool isProduceCertificateSet() const
Whether a certificate is to be produced.
bool check() const override
Checks whether the settings are consistent.
bool isUseTopologicalSet() const
Whether topological methods are used to produce certificates.
double getGamma() const
The gamma parameter of the algorithm.
ModuleSettings(std::string const &moduleName)
Constructs a new settings object.
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_THROW(cond, exception, message)
CertificateAlgorithm
The algorithms that can be used to compute the values underlying a certificate.
@ FpRoundII
Smooth interval iteration with floating point numbers.
@ FpSmoothII
Interval iteration with floating point numbers.
CertificateAlgorithm certificateAlgorithmFromString(std::string const &algorithm)