Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
LabelSubstitutionVisitor.h
Go to the documentation of this file.
1#ifndef STORM_LOGIC_LABELSUBSTITUTIONVISITOR_H_
2#define STORM_LOGIC_LABELSUBSTITUTIONVISITOR_H_
3
4#include <map>
5
7
9
10namespace storm {
11namespace logic {
12
14 public:
15 LabelSubstitutionVisitor(std::map<std::string, storm::expressions::Expression> const& labelToExpressionMapping);
16 LabelSubstitutionVisitor(std::map<std::string, std::string> const& labelToLabelMapping);
17
18 std::shared_ptr<Formula> substitute(Formula const& f) const;
19
20 virtual boost::any visit(AtomicLabelFormula const& f, boost::any const& data) const override;
21
22 private:
23 std::map<std::string, storm::expressions::Expression> const* labelToExpressionMapping;
24 std::map<std::string, std::string> const* labelToLabelMapping;
25};
26
27} // namespace logic
28} // namespace storm
29
30#endif /* STORM_LOGIC_FORMULAINFORMATIONVISITOR_H_ */
virtual boost::any visit(AtomicLabelFormula const &f, boost::any const &data) const override
std::shared_ptr< Formula > substitute(Formula const &f) const
LabParser.cpp.
Definition cli.cpp:18