Storm
A Modern Probabilistic Model Checker
|
Loads a labeled Markov automaton from files. More...
#include <MarkovAutomatonParser.h>
Static Public Member Functions | |
static storm::models::sparse::MarkovAutomaton< ValueType, storm::models::sparse::StandardRewardModel< RewardValueType > > | parseMarkovAutomaton (std::string const &transitionsFilename, std::string const &labelingFilename, std::string const &stateRewardFilename="", std::string const &transitionRewardFilename="", std::string const &choiceLabelingFilename="") |
Parses the given Markov automaton and returns an object representing the automaton. | |
Loads a labeled Markov automaton from files.
Given the file paths of the files holding the transitions, the atomic propositions and optionally the state rewards it loads the files, parses them and returns the desired model.
Definition at line 17 of file MarkovAutomatonParser.h.
|
static |
Parses the given Markov automaton and returns an object representing the automaton.
transitionsFilename | The name of the file containing the transitions of the Markov automaton. |
labelingFilename | The name of the file containing the labels for the states of the Markov automaton. |
stateRewardFilename | The name of the file that contains the state reward of the Markov automaton. |
transitionRewardFilename | The name of the file that contains the transition rewards of the Markov automaton. This should be empty as transition rewards are not supported by Markov Automata. |
choiceLabelingFilename | The name of the file that contains the choice labels. |
Definition at line 18 of file MarkovAutomatonParser.cpp.