Storm 2.0.0.3
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
storm::settings::modules::ScpSettings Class Reference

This class represents the settings for the SCP feasibility synthesis method. More...

#include <ScpSettings.h>

Inheritance diagram for storm::settings::modules::ScpSettings:
Collaboration diagram for storm::settings::modules::ScpSettings:

Public Member Functions

 ScpSettings ()
double getTrustRegionInitial () const
 Retrieves the initial trust region radius (delta_0).
double getTrustRegionFactor () const
 Retrieves the trust region growth/shrink factor (gamma).
double getTrustRegionMax () const
 Retrieves the upper cap on the trust region radius.
double getTrustRegionMinExcess () const
 Retrieves the termination threshold on (radius - 1).
uint64_t getMaxIterations () const
 Retrieves the maximum number of SCP iterations.
double getInitialStateBias () const
 Retrieves the weight of the initial state's value in the LP objective.
bool isExactSet () const
 Retrieves whether candidate valuations are model-checked with exact (rational) arithmetic instead of floating-point arithmetic.
bool isSumViolationObjectiveSet () const
 Retrieves whether the LP objective should minimize the sum of per-state violations instead of the default maximum violation.
Public Member Functions inherited from storm::settings::modules::ModuleSettings
 ModuleSettings (std::string const &moduleName)
 Constructs a new settings object.
virtual ~ModuleSettings ()
virtual bool check () const
 Checks whether the settings are consistent.
virtual void finalize ()
 Prepares the modules for further usage, should be called at the end of the initialization, before checks are executed.
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 and marks all options as not set.

Static Public Attributes

static const std::string moduleName = "scp"

Additional Inherited Members

Protected Member Functions inherited from storm::settings::modules::ModuleSettings
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 addOption (std::shared_ptr< Option > const &option)
 Adds and registers the given option.

Detailed Description

This class represents the settings for the SCP feasibility synthesis method.

Definition at line 10 of file ScpSettings.h.

Constructor & Destructor Documentation

◆ ScpSettings()

storm::settings::modules::ScpSettings::ScpSettings ( )

Definition at line 28 of file ScpSettings.cpp.

Member Function Documentation

◆ getInitialStateBias()

double storm::settings::modules::ScpSettings::getInitialStateBias ( ) const

Retrieves the weight of the initial state's value in the LP objective.

Definition at line 101 of file ScpSettings.cpp.

◆ getMaxIterations()

uint64_t storm::settings::modules::ScpSettings::getMaxIterations ( ) const

Retrieves the maximum number of SCP iterations.

Definition at line 97 of file ScpSettings.cpp.

◆ getTrustRegionFactor()

double storm::settings::modules::ScpSettings::getTrustRegionFactor ( ) const

Retrieves the trust region growth/shrink factor (gamma).

Definition at line 85 of file ScpSettings.cpp.

◆ getTrustRegionInitial()

double storm::settings::modules::ScpSettings::getTrustRegionInitial ( ) const

Retrieves the initial trust region radius (delta_0).

Definition at line 81 of file ScpSettings.cpp.

◆ getTrustRegionMax()

double storm::settings::modules::ScpSettings::getTrustRegionMax ( ) const

Retrieves the upper cap on the trust region radius.

Definition at line 89 of file ScpSettings.cpp.

◆ getTrustRegionMinExcess()

double storm::settings::modules::ScpSettings::getTrustRegionMinExcess ( ) const

Retrieves the termination threshold on (radius - 1).

Definition at line 93 of file ScpSettings.cpp.

◆ isExactSet()

bool storm::settings::modules::ScpSettings::isExactSet ( ) const

Retrieves whether candidate valuations are model-checked with exact (rational) arithmetic instead of floating-point arithmetic.

Definition at line 105 of file ScpSettings.cpp.

◆ isSumViolationObjectiveSet()

bool storm::settings::modules::ScpSettings::isSumViolationObjectiveSet ( ) const

Retrieves whether the LP objective should minimize the sum of per-state violations instead of the default maximum violation.

Definition at line 109 of file ScpSettings.cpp.

Member Data Documentation

◆ moduleName

const std::string storm::settings::modules::ScpSettings::moduleName = "scp"
static

Definition at line 56 of file ScpSettings.h.


The documentation for this class was generated from the following files: