Storm
1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
LabelSubstitutionVisitor.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <map>
4
5
#include "
storm/logic/CloneVisitor.h
"
6
7
#include "
storm/storage/expressions/Expression.h
"
8
9
namespace
storm
{
10
namespace
logic
{
11
12
class
LabelSubstitutionVisitor
:
public
CloneVisitor
{
13
public
:
14
LabelSubstitutionVisitor
(std::map<std::string, storm::expressions::Expression>
const
& labelToExpressionMapping);
15
LabelSubstitutionVisitor
(std::map<std::string, std::string>
const
& labelToLabelMapping);
16
17
std::shared_ptr<Formula>
substitute
(
Formula
const
& f)
const
;
18
19
virtual
boost::any
visit
(
AtomicLabelFormula
const
& f, boost::any
const
& data)
const override
;
20
21
private
:
22
std::map<std::string, storm::expressions::Expression>
const
* labelToExpressionMapping;
23
std::map<std::string, std::string>
const
* labelToLabelMapping;
24
};
25
26
}
// namespace logic
27
}
// namespace storm
CloneVisitor.h
Expression.h
storm::logic::AtomicLabelFormula
Definition
AtomicLabelFormula.h:9
storm::logic::CloneVisitor
Definition
CloneVisitor.h:10
storm::logic::Formula
Definition
Formula.h:31
storm::logic::LabelSubstitutionVisitor::visit
virtual boost::any visit(AtomicLabelFormula const &f, boost::any const &data) const override
Definition
LabelSubstitutionVisitor.cpp:24
storm::logic::LabelSubstitutionVisitor::LabelSubstitutionVisitor
LabelSubstitutionVisitor(std::map< std::string, storm::expressions::Expression > const &labelToExpressionMapping)
Definition
LabelSubstitutionVisitor.cpp:9
storm::logic::LabelSubstitutionVisitor::substitute
std::shared_ptr< Formula > substitute(Formula const &f) const
Definition
LabelSubstitutionVisitor.cpp:19
storm::logic
Definition
solutionFunctions.h:14
storm
Definition
AutomaticSettings.cpp:13
src
storm
logic
LabelSubstitutionVisitor.h
Generated by
1.15.0