Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
PrismExportSettings.cpp
Go to the documentation of this file.
2
9
10#include <boost/algorithm/string.hpp>
11
12namespace storm {
13namespace settings {
14namespace modules {
15const std::string PrismExportSettings::moduleName = "exportPrism";
16
17const std::string PrismExportSettings::exportFlattenOptionName = "flatten";
18const std::string PrismExportSettings::exportSimplifyOptionName = "simplify";
19
21 this->addOption(storm::settings::OptionBuilder(moduleName, exportFlattenOptionName, false,
22 "Flattens the composition of modules to obtain an equivalent program that contains exactly one module")
23 .build());
24 this->addOption(storm::settings::OptionBuilder(moduleName, exportSimplifyOptionName, false, "Applies static analysis to simplify the program.").build());
25}
26
28 return this->getOption(exportFlattenOptionName).getHasOptionBeenSet();
29}
30
32 return this->getOption(exportSimplifyOptionName).getHasOptionBeenSet();
33}
34
36
38 return true;
39}
40} // namespace modules
41} // namespace settings
42} // namespace storm
This class provides the interface to create an option...
bool getHasOptionBeenSet() const
Retrieves whether the option has been set.
Definition Option.cpp:125
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.
bool check() const override
Checks whether the settings are consistent.
PrismExportSettings()
Creates a new PrismExport setting.
void finalize() override
Prepares the modules for further usage, should be called at the end of the initialization,...
LabParser.cpp.
Definition cli.cpp:18