Storm
1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
SparseStateRewardParser.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstdint>
4
#include <string>
5
#include <vector>
6
7
#include "
storm-parsers/storm-parsers-api.h
"
8
9
namespace
storm
{
10
namespace
parser
{
11
15
template
<
typename
ValueType =
double
>
16
class
STORM_PARSERS_API
SparseStateRewardParser
{
17
public
:
25
static
std::vector<ValueType>
parseSparseStateReward
(uint_fast64_t stateCount, std::string
const
& filename);
26
};
27
28
}
// namespace parser
29
}
// namespace storm
storm::parser::SparseStateRewardParser
A class providing the functionality to parse a the state rewards of a model.
Definition
SparseStateRewardParser.h:16
storm::parser::SparseStateRewardParser::parseSparseStateReward
static std::vector< ValueType > parseSparseStateReward(uint_fast64_t stateCount, std::string const &filename)
Reads a state reward file and puts the result in a state reward vector.
Definition
SparseStateRewardParser.cpp:18
storm::parser
Contains all file parsers and helper classes.
Definition
DFTGalileoParser.h:6
storm
Definition
AutomaticSettings.cpp:13
storm-parsers-api.h
STORM_PARSERS_API
#define STORM_PARSERS_API
Definition
storm-parsers-api.h:7
src
storm-parsers
parser
SparseStateRewardParser.h
Generated by
1.15.0