Storm
A Modern Probabilistic Model Checker
|
Loads a nondeterministic model (Mdp or Ctmdp) from files. More...
#include <NondeterministicModelParser.h>
Static Public Member Functions | |
static storm::models::sparse::Mdp< ValueType, storm::models::sparse::StandardRewardModel< RewardValueType > > | parseMdp (std::string const &transitionsFilename, std::string const &labelingFilename, std::string const &stateRewardFilename="", std::string const &transitionRewardFilename="", std::string const &choiceLabelingFilename="") |
Parse a Mdp. | |
Loads a nondeterministic model (Mdp or Ctmdp) from files.
Given the file paths of the files holding the transitions, the atomic propositions and optionally the state- and transition rewards it loads the files, parses them and returns the desired model.
Definition at line 17 of file NondeterministicModelParser.h.
|
static |
Parse a Mdp.
This method is an adapter to the actual parsing function. I.e. it uses @parseNondeterministicModel internally to parse the given input files, takes its result and compiles it into a Dtmc.
transitionsFilename | The path and name of the file containing the transitions of the model. |
labelingFilename | The path and name of the file containing the labels for the states of the model. |
stateRewardFilename | The path and name of the file containing the state reward of the model. This file is optional. |
transitionRewardFilename | The path and name of the file containing the transition rewards of the model. This file is optional. |
choiceLabelingFilename | The path and name of the file containing the choice labeling of the model. This file is optional. |
Definition at line 67 of file NondeterministicModelParser.cpp.