25std::vector<std::string>
memoryPatterns = {
"trivial",
"fixedcounter",
"selectivecounter",
"ring",
"fixedring",
"settablebits",
"full"};
31 "If this is set, actions will not be ordered canonically. Could yield incorrect results.")
38 "Reduces the model size by performing qualitative analysis (E.g. merge states with prob. 1.")
44 "Sets the maximal number of allowed memory states (1 means memoryless schedulers).")
123 }
else if (
pattern ==
"fixedcounter") {
125 }
else if (
pattern ==
"selectivecounter") {
127 }
else if (
pattern ==
"ring") {
129 }
else if (
pattern ==
"fixedring") {
131 }
else if (
pattern ==
"settablebits") {
133 }
else if (
pattern ==
"full") {
136 STORM_LOG_THROW(
false, storm::exceptions::InvalidArgumentException,
"The name of the memory pattern is unknown.");
143 "Memory bound greater one is not possible with the trivial memory pattern.");
virtual std::string getValueAsString() const =0
Retrieves the value of this argument as a string.
virtual uint_fast64_t getValueAsUnsignedInteger() const =0
Retrieves the value of this argument as an unsigned integer.
static ArgumentBuilder createUnsignedIntegerArgument(std::string const &name, std::string const &description)
Creates an unsigned integer 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< uint64_t > > createUnsignedGreaterValidator(uint64_t lowerBound)
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.
void finalize() override
Prepares the modules for further usage, should be called at the end of the initialization,...
POMDPSettings()
Creates a new set of POMDP settings.
bool check() const override
Checks whether the settings are consistent.
std::string getExportToParametricFilename() const
bool isExportToParametricSet() const
storm::storage::PomdpMemoryPattern getMemoryPattern() const
bool isQualitativeReductionSet() const
bool isSelfloopReductionSet() const
bool isBeliefExplorationSet() const
bool isCheckFullyObservableSet() const
uint64_t getMemoryBound() const
bool isQualitativeAnalysisSet() const
static const std::string moduleName
bool isBeliefExplorationUnfoldSet() const
bool isAnalyzeUniqueObservationsSet() const
bool isBeliefExplorationDiscretizeSet() const
bool isNoCanonicSet() const
#define STORM_LOG_THROW(cond, exception, message)
const std::string memoryPatternOption
const std::string beliefExplorationOption
const std::string isQualitativeOption
const std::string analyzeUniqueObservationsOption
const std::string memoryBoundOption
std::vector< std::string > memoryPatterns
const std::string noCanonicOption
const std::string checkFullyObservableOption
const std::string exportAsParametricModelOption
std::vector< std::string > beliefExplorationModes
const std::string selfloopReductionOption
const std::string qualitativeReductionOption
SettingsType const & getModule()
Get module.