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
6
7#include <vector>
8
9namespace storm {
10namespace parser {
11
19template<typename ValueType = double>
21 public:
32 // Intentionally left empty.
33 }
34
37
39 uint_fast64_t highestStateIndex;
40
42 uint_fast64_t choices;
43 };
44
52
60 template<typename MatrixValueType>
62 std::string const& filename, storm::storage::SparseMatrix<MatrixValueType> const& modelInformation);
63
64 private:
79 template<typename MatrixValueType>
80 static FirstPassResult firstPass(char const* buffer, bool isRewardFile, storm::storage::SparseMatrix<MatrixValueType> const& modelInformation);
81
93 template<typename MatrixValueType>
94 static storm::storage::SparseMatrix<ValueType> parse(std::string const& filename, bool isRewardFile,
97};
98
99} // namespace parser
100} // namespace storm
A class providing the functionality to parse the transitions of a nondeterministic model.
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...
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...
A class that holds a possibly non-square matrix in the compressed row storage format.
Contains all file parsers and helper classes.
#define STORM_PARSERS_API
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.