Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
NondeterministicSparseTransitionParser.h
Go to the documentation of this file.
1#pragma once
2
5
6#include <vector>
7
8namespace storm {
9namespace parser {
10
18template<typename ValueType = double>
20 public:
31 // Intentionally left empty.
32 }
33
36
38 uint_fast64_t highestStateIndex;
39
41 uint_fast64_t choices;
42 };
43
51
59 template<typename MatrixValueType>
61 std::string const& filename, storm::storage::SparseMatrix<MatrixValueType> const& modelInformation);
62
63 private:
78 template<typename MatrixValueType>
79 static FirstPassResult firstPass(char const* buffer, bool isRewardFile, storm::storage::SparseMatrix<MatrixValueType> const& modelInformation);
80
92 template<typename MatrixValueType>
93 static storm::storage::SparseMatrix<ValueType> parse(std::string const& filename, bool isRewardFile,
96};
97
98} // namespace parser
99} // namespace storm
A class providing the functionality to parse the transitions of a nondeterministic model.
static storm::storage::SparseMatrix< ValueType > parseNondeterministicTransitions(std::string const &filename, ExplicitModelParserOptions const &options=ExplicitModelParserOptions())
Load a nondeterministic transition system from file and create a sparse adjacency matrix whose entrie...
static storm::storage::SparseMatrix< ValueType > parseNondeterministicTransitionRewards(std::string const &filename, storm::storage::SparseMatrix< MatrixValueType > const &modelInformation)
Load a nondeterministic transition system from file and create a sparse adjacency matrix whose entrie...
A class that holds a possibly non-square matrix in the compressed row storage format.
Contains all file parsers and helper classes.
A structure representing the result of the first pass of this parser.
uint_fast64_t numberOfNonzeroEntries
The total number of non-zero entries of the model.
uint_fast64_t highestStateIndex
The highest state index that appears in the model.
uint_fast64_t choices
The total number of nondeterministic choices within the transition system.