Storm
A Modern Probabilistic Model Checker
|
Namespaces | |
namespace | modules |
Classes | |
class | Argument |
This class subclasses the argument base to actually implement the pure virtual functions. More... | |
class | ArgumentBase |
This class serves as the (untemplated) base class of argument classes. More... | |
class | ArgumentBuilder |
This class serves as an API for creating arguments. More... | |
class | ArgumentValidator |
class | ArgumentValidatorFactory |
class | FileValidator |
class | MultipleChoiceValidator |
class | Option |
This class represents one command-line option. More... | |
class | OptionBuilder |
This class provides the interface to create an option... More... | |
class | RangeArgumentValidator |
class | SettingMemento |
This class is used to reset the state of an option that was temporarily set to a different status. More... | |
class | SettingsManager |
Provides the central API for the registration of command line options and parsing the options from the command line. More... | |
Enumerations | |
enum class | ArgumentType { String , Integer , UnsignedInteger , Double , Boolean } |
This enum captures all possible types for arguments. More... | |
Functions | |
void | initializeConvSettings (std::string const &name, std::string const &executableName) |
void | initializeParsSettings (std::string const &name, std::string const &executableName) |
void | initializePomdpSettings (std::string const &name, std::string const &executableName) |
Initialize the settings manager. | |
template<typename T > | |
void | printValue (std::ostream &out, T const &value) |
template<> | |
void | printValue (std::ostream &out, std::string const &value) |
std::ostream & | operator<< (std::ostream &out, ArgumentBase const &argument) |
std::ostream & | operator<< (std::ostream &out, ArgumentType &argumentType) |
template<typename T > | |
ArgumentType | inferToEnumType () |
This function infers the type in our enum of possible types from the template parameter. | |
template<> | |
ArgumentType | inferToEnumType< std::string > () |
template<> | |
ArgumentType | inferToEnumType< int_fast64_t > () |
template<> | |
ArgumentType | inferToEnumType< uint_fast64_t > () |
template<> | |
ArgumentType | inferToEnumType< double > () |
template<> | |
ArgumentType | inferToEnumType< bool > () |
template<typename T > | |
std::string const & | inferToString (ArgumentType const &, T const &) |
template<> | |
std::string const & | inferToString< std::string > (ArgumentType const &argumentType, std::string const &value) |
template<typename T > | |
int_fast64_t | inferToInteger (ArgumentType const &, T const &) |
template<> | |
int_fast64_t | inferToInteger< int_fast64_t > (ArgumentType const &argumentType, int_fast64_t const &value) |
template<typename T > | |
uint_fast64_t | inferToUnsignedInteger (ArgumentType const &, T const &) |
template<> | |
uint_fast64_t | inferToUnsignedInteger< uint_fast64_t > (ArgumentType const &argumentType, uint_fast64_t const &value) |
template<typename T > | |
double | inferToDouble (ArgumentType const &, T const &) |
template<> | |
double | inferToDouble< double > (ArgumentType const &argumentType, double const &value) |
template<typename T > | |
bool | inferToBoolean (ArgumentType const &, T const &) |
template<> | |
bool | inferToBoolean< bool > (ArgumentType const &argumentType, bool const &value) |
template std::string const & | inferToString< int_fast64_t > (ArgumentType const &argumentType, int_fast64_t const &value) |
template std::string const & | inferToString< uint_fast64_t > (ArgumentType const &argumentType, uint_fast64_t const &value) |
template std::string const & | inferToString< double > (ArgumentType const &argumentType, double const &value) |
template std::string const & | inferToString< bool > (ArgumentType const &argumentType, bool const &value) |
template int_fast64_t | inferToInteger< std::string > (ArgumentType const &argumentType, std::string const &value) |
template int_fast64_t | inferToInteger< uint_fast64_t > (ArgumentType const &argumentType, uint_fast64_t const &value) |
template int_fast64_t | inferToInteger< double > (ArgumentType const &argumentType, double const &value) |
template int_fast64_t | inferToInteger< bool > (ArgumentType const &argumentType, bool const &value) |
template uint_fast64_t | inferToUnsignedInteger< std::string > (ArgumentType const &argumentType, std::string const &value) |
template uint_fast64_t | inferToUnsignedInteger< int_fast64_t > (ArgumentType const &argumentType, int_fast64_t const &value) |
template uint_fast64_t | inferToUnsignedInteger< double > (ArgumentType const &argumentType, double const &value) |
template uint_fast64_t | inferToUnsignedInteger< bool > (ArgumentType const &argumentType, bool const &value) |
template double | inferToDouble< std::string > (ArgumentType const &argumentType, std::string const &value) |
template double | inferToDouble< int_fast64_t > (ArgumentType const &argumentType, int_fast64_t const &value) |
template double | inferToDouble< uint_fast64_t > (ArgumentType const &argumentType, uint_fast64_t const &value) |
template double | inferToDouble< bool > (ArgumentType const &argumentType, bool const &value) |
template bool | inferToBoolean< std::string > (ArgumentType const &argumentType, std::string const &value) |
template bool | inferToBoolean< int_fast64_t > (ArgumentType const &argumentType, int_fast64_t const &value) |
template bool | inferToBoolean< uint_fast64_t > (ArgumentType const &argumentType, uint_fast64_t const &value) |
template bool | inferToBoolean< double > (ArgumentType const &argumentType, double const &value) |
template<> | |
std::string const & | inferToString (ArgumentType const &argumentType, std::string const &value) |
template<> | |
int_fast64_t | inferToInteger (ArgumentType const &argumentType, int_fast64_t const &value) |
template<> | |
uint_fast64_t | inferToUnsignedInteger (ArgumentType const &argumentType, uint_fast64_t const &value) |
template<> | |
double | inferToDouble (ArgumentType const &argumentType, double const &value) |
template<> | |
bool | inferToBoolean (ArgumentType const &argumentType, bool const &value) |
std::ostream & | operator<< (std::ostream &out, Option const &option) |
SettingsManager const & | manager () |
Retrieves the settings manager. | |
SettingsManager & | mutableManager () |
Retrieves the settings manager. | |
storm::settings::modules::BuildSettings & | mutableBuildSettings () |
Retrieves the build settings in a mutable form. | |
storm::settings::modules::AbstractionSettings & | mutableAbstractionSettings () |
Retrieves the abstraction settings in a mutable form. | |
void | initializeAll (std::string const &name, std::string const &executableName) |
Initialize the settings manager with all available modules. | |
template<typename SettingsType > | |
void | addModule (bool doRegister=true) |
Add new module to use for the settings. | |
template<typename SettingsType > | |
SettingsType const & | getModule () |
Get module. | |
template<typename SettingsType > | |
bool | hasModule () |
Returns true if the given module is registered. | |
|
strong |
This enum captures all possible types for arguments.
Enumerator | |
---|---|
String | |
Integer | |
UnsignedInteger | |
Double | |
Boolean |
Definition at line 12 of file ArgumentType.h.
void storm::settings::addModule | ( | bool | doRegister = true | ) |
Add new module to use for the settings.
The new module is given as a template argument.
Definition at line 272 of file SettingsManager.h.
SettingsType const & storm::settings::getModule | ( | ) |
Get module.
The type of the module is given as a template argument.
Definition at line 290 of file SettingsManager.h.
bool storm::settings::hasModule | ( | ) |
Returns true if the given module is registered.
Definition at line 300 of file SettingsManager.h.
bool storm::settings::inferToBoolean | ( | ArgumentType const & | , |
T const & | |||
) |
Definition at line 82 of file ArgumentTypeInferationHelper.cpp.
bool storm::settings::inferToBoolean | ( | ArgumentType const & | argumentType, |
bool const & | value | ||
) |
bool storm::settings::inferToBoolean< bool > | ( | ArgumentType const & | argumentType, |
bool const & | value | ||
) |
Definition at line 87 of file ArgumentTypeInferationHelper.cpp.
template bool storm::settings::inferToBoolean< double > | ( | ArgumentType const & | argumentType, |
double const & | value | ||
) |
template bool storm::settings::inferToBoolean< int_fast64_t > | ( | ArgumentType const & | argumentType, |
int_fast64_t const & | value | ||
) |
template bool storm::settings::inferToBoolean< std::string > | ( | ArgumentType const & | argumentType, |
std::string const & | value | ||
) |
template bool storm::settings::inferToBoolean< uint_fast64_t > | ( | ArgumentType const & | argumentType, |
uint_fast64_t const & | value | ||
) |
double storm::settings::inferToDouble | ( | ArgumentType const & | , |
T const & | |||
) |
Definition at line 71 of file ArgumentTypeInferationHelper.cpp.
double storm::settings::inferToDouble | ( | ArgumentType const & | argumentType, |
double const & | value | ||
) |
template double storm::settings::inferToDouble< bool > | ( | ArgumentType const & | argumentType, |
bool const & | value | ||
) |
double storm::settings::inferToDouble< double > | ( | ArgumentType const & | argumentType, |
double const & | value | ||
) |
Definition at line 76 of file ArgumentTypeInferationHelper.cpp.
template double storm::settings::inferToDouble< int_fast64_t > | ( | ArgumentType const & | argumentType, |
int_fast64_t const & | value | ||
) |
template double storm::settings::inferToDouble< std::string > | ( | ArgumentType const & | argumentType, |
std::string const & | value | ||
) |
template double storm::settings::inferToDouble< uint_fast64_t > | ( | ArgumentType const & | argumentType, |
uint_fast64_t const & | value | ||
) |
ArgumentType storm::settings::inferToEnumType | ( | ) |
This function infers the type in our enum of possible types from the template parameter.
Definition at line 7 of file ArgumentTypeInferationHelper.cpp.
ArgumentType storm::settings::inferToEnumType< bool > | ( | ) |
Definition at line 32 of file ArgumentTypeInferationHelper.cpp.
ArgumentType storm::settings::inferToEnumType< double > | ( | ) |
Definition at line 27 of file ArgumentTypeInferationHelper.cpp.
ArgumentType storm::settings::inferToEnumType< int_fast64_t > | ( | ) |
Definition at line 17 of file ArgumentTypeInferationHelper.cpp.
ArgumentType storm::settings::inferToEnumType< std::string > | ( | ) |
Definition at line 12 of file ArgumentTypeInferationHelper.cpp.
ArgumentType storm::settings::inferToEnumType< uint_fast64_t > | ( | ) |
Definition at line 22 of file ArgumentTypeInferationHelper.cpp.
int_fast64_t storm::settings::inferToInteger | ( | ArgumentType const & | , |
T const & | |||
) |
Definition at line 48 of file ArgumentTypeInferationHelper.cpp.
int_fast64_t storm::settings::inferToInteger | ( | ArgumentType const & | argumentType, |
int_fast64_t const & | value | ||
) |
template int_fast64_t storm::settings::inferToInteger< bool > | ( | ArgumentType const & | argumentType, |
bool const & | value | ||
) |
template int_fast64_t storm::settings::inferToInteger< double > | ( | ArgumentType const & | argumentType, |
double const & | value | ||
) |
int_fast64_t storm::settings::inferToInteger< int_fast64_t > | ( | ArgumentType const & | argumentType, |
int_fast64_t const & | value | ||
) |
Definition at line 53 of file ArgumentTypeInferationHelper.cpp.
template int_fast64_t storm::settings::inferToInteger< std::string > | ( | ArgumentType const & | argumentType, |
std::string const & | value | ||
) |
template int_fast64_t storm::settings::inferToInteger< uint_fast64_t > | ( | ArgumentType const & | argumentType, |
uint_fast64_t const & | value | ||
) |
std::string const & storm::settings::inferToString | ( | ArgumentType const & | , |
T const & | |||
) |
Definition at line 37 of file ArgumentTypeInferationHelper.cpp.
std::string const & storm::settings::inferToString | ( | ArgumentType const & | argumentType, |
std::string const & | value | ||
) |
template std::string const & storm::settings::inferToString< bool > | ( | ArgumentType const & | argumentType, |
bool const & | value | ||
) |
template std::string const & storm::settings::inferToString< double > | ( | ArgumentType const & | argumentType, |
double const & | value | ||
) |
template std::string const & storm::settings::inferToString< int_fast64_t > | ( | ArgumentType const & | argumentType, |
int_fast64_t const & | value | ||
) |
std::string const & storm::settings::inferToString< std::string > | ( | ArgumentType const & | argumentType, |
std::string const & | value | ||
) |
Definition at line 42 of file ArgumentTypeInferationHelper.cpp.
template std::string const & storm::settings::inferToString< uint_fast64_t > | ( | ArgumentType const & | argumentType, |
uint_fast64_t const & | value | ||
) |
uint_fast64_t storm::settings::inferToUnsignedInteger | ( | ArgumentType const & | , |
T const & | |||
) |
Definition at line 59 of file ArgumentTypeInferationHelper.cpp.
uint_fast64_t storm::settings::inferToUnsignedInteger | ( | ArgumentType const & | argumentType, |
uint_fast64_t const & | value | ||
) |
template uint_fast64_t storm::settings::inferToUnsignedInteger< bool > | ( | ArgumentType const & | argumentType, |
bool const & | value | ||
) |
template uint_fast64_t storm::settings::inferToUnsignedInteger< double > | ( | ArgumentType const & | argumentType, |
double const & | value | ||
) |
template uint_fast64_t storm::settings::inferToUnsignedInteger< int_fast64_t > | ( | ArgumentType const & | argumentType, |
int_fast64_t const & | value | ||
) |
template uint_fast64_t storm::settings::inferToUnsignedInteger< std::string > | ( | ArgumentType const & | argumentType, |
std::string const & | value | ||
) |
uint_fast64_t storm::settings::inferToUnsignedInteger< uint_fast64_t > | ( | ArgumentType const & | argumentType, |
uint_fast64_t const & | value | ||
) |
Definition at line 64 of file ArgumentTypeInferationHelper.cpp.
void storm::settings::initializeAll | ( | std::string const & | name, |
std::string const & | executableName | ||
) |
Initialize the settings manager with all available modules.
name | Name of the tool. |
executableName | Filename of the executable. |
Definition at line 678 of file SettingsManager.cpp.
void storm::settings::initializeConvSettings | ( | std::string const & | name, |
std::string const & | executableName | ||
) |
Definition at line 13 of file ConvSettings.cpp.
void storm::settings::initializeParsSettings | ( | std::string const & | name, |
std::string const & | executableName | ||
) |
Definition at line 39 of file ParsSettings.cpp.
void storm::settings::initializePomdpSettings | ( | std::string const & | name, |
std::string const & | executableName | ||
) |
Initialize the settings manager.
Definition at line 39 of file PomdpSettings.cpp.
SettingsManager const & storm::settings::manager | ( | ) |
Retrieves the settings manager.
Definition at line 662 of file SettingsManager.cpp.
storm::settings::modules::AbstractionSettings & storm::settings::mutableAbstractionSettings | ( | ) |
Retrieves the abstraction settings in a mutable form.
This is only meant to be used for debug purposes or very rare cases where it is necessary.
Definition at line 674 of file SettingsManager.cpp.
storm::settings::modules::BuildSettings & storm::settings::mutableBuildSettings | ( | ) |
Retrieves the build settings in a mutable form.
This is only meant to be used for debug purposes or very rare cases where it is necessary.
Definition at line 670 of file SettingsManager.cpp.
SettingsManager & storm::settings::mutableManager | ( | ) |
Retrieves the settings manager.
Definition at line 666 of file SettingsManager.cpp.
std::ostream & storm::settings::operator<< | ( | std::ostream & | out, |
ArgumentBase const & | argument | ||
) |
Definition at line 9 of file ArgumentBase.cpp.
std::ostream & storm::settings::operator<< | ( | std::ostream & | out, |
ArgumentType & | argumentType | ||
) |
Definition at line 5 of file ArgumentType.cpp.
std::ostream & storm::settings::operator<< | ( | std::ostream & | out, |
Option const & | option | ||
) |
Definition at line 200 of file Option.cpp.
void storm::settings::printValue | ( | std::ostream & | out, |
std::string const & | value | ||
) |
Definition at line 188 of file Argument.cpp.
void storm::settings::printValue | ( | std::ostream & | out, |
T const & | value | ||
) |
Definition at line 183 of file Argument.cpp.