Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
DFTGalileoParser.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5// Forward declarations
6namespace storm::parser {
7template<typename ValueType>
8class ValueParser;
9;
10} // namespace storm::parser
11namespace storm::dft::builder {
12template<typename ValueType>
13class DFTBuilder;
14}
15namespace storm::dft::storage {
16template<typename ValueType>
17class DFT;
18}
19
20namespace storm::dft {
21namespace parser {
22
31template<typename ValueType>
33 public:
41 static storm::dft::storage::DFT<ValueType> parseDFT(std::string const& filename);
42
50 static std::string parseName(std::string const& name);
51
52 private:
61 static void parseBasicElement(std::string const& name, std::string& input, storm::dft::builder::DFTBuilder<ValueType>& builder,
63
72 static std::string parseValue(std::string name, std::string& line);
73};
74
75} // namespace parser
76} // namespace storm::dft
Parser for DFT in the Galileo format.
static storm::dft::storage::DFT< ValueType > parseDFT(std::string const &filename)
Parse DFT in Galileo format and build DFT.
static std::string parseName(std::string const &name)
Parse element name (strip quotation marks, etc.).
Represents a Dynamic Fault Tree.
Definition DFT.h:49
Parser for values according to their ValueType.
Definition ValueParser.h:23
Contains all file parsers and helper classes.