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
6
#include "
storm/logic/CloneVisitor.h
"
7
8
#include "
storm/storage/expressions/Expression.h
"
9
10
namespace
storm
{
11
namespace
logic {
12
13
class
LabelSubstitutionVisitor
:
public
CloneVisitor
{
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_ */
CloneVisitor.h
Expression.h
storm::logic::AtomicLabelFormula
Definition
AtomicLabelFormula.h:10
storm::logic::CloneVisitor
Definition
CloneVisitor.h:11
storm::logic::Formula
Definition
Formula.h:30
storm::logic::LabelSubstitutionVisitor
Definition
LabelSubstitutionVisitor.h:13
storm::logic::LabelSubstitutionVisitor::visit
virtual boost::any visit(AtomicLabelFormula const &f, boost::any const &data) const override
Definition
LabelSubstitutionVisitor.cpp:24
storm::logic::LabelSubstitutionVisitor::substitute
std::shared_ptr< Formula > substitute(Formula const &f) const
Definition
LabelSubstitutionVisitor.cpp:19
storm
LabParser.cpp.
Definition
cli.cpp:18
src
storm
logic
LabelSubstitutionVisitor.h
Generated by
1.9.8