Storm
A Modern Probabilistic Model Checker
|
Loads a deterministic model (Dtmc or Ctmc) from files. More...
#include <DeterministicModelParser.h>
Static Public Member Functions | |
static storm::models::sparse::Dtmc< ValueType, storm::models::sparse::StandardRewardModel< RewardValueType > > | parseDtmc (std::string const &transitionsFilename, std::string const &labelingFilename, std::string const &stateRewardFilename="", std::string const &transitionRewardFilename="", std::string const &choiceLabelingFilename="") |
Parse a Dtmc. | |
static storm::models::sparse::Ctmc< ValueType, storm::models::sparse::StandardRewardModel< RewardValueType > > | parseCtmc (std::string const &transitionsFilename, std::string const &labelingFilename, std::string const &stateRewardFilename="", std::string const &transitionRewardFilename="", std::string const &choiceLabelingFilename="") |
Parse a Ctmc. | |
Loads a deterministic model (Dtmc or Ctmc) 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 19 of file DeterministicModelParser.h.
|
static |
Parse a Ctmc.
This method is an adapter to the actual parsing function. I.e. it uses @parseDeterministicModel internally to parse the given input files, takes its result and compiles it into a Ctmc.
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 74 of file DeterministicModelParser.cpp.
|
static |
Parse a Dtmc.
This method is an adapter to the actual parsing function. I.e. it uses @parseDeterministicModel 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 65 of file DeterministicModelParser.cpp.