Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
UnaryBooleanPathFormula.h
Go to the documentation of this file.
1
#ifndef STORM_LOGIC_UNARYBOOLEANPATHFORMULA_H_
2
#define STORM_LOGIC_UNARYBOOLEANPATHFORMULA_H_
3
4
#include "
storm/logic/FormulaContext.h
"
5
#include "
storm/logic/UnaryBooleanOperatorType.h
"
6
#include "
storm/logic/UnaryPathFormula.h
"
7
8
namespace
storm
{
9
namespace
logic {
10
class
UnaryBooleanPathFormula
:
public
UnaryPathFormula
{
11
public
:
12
typedef
storm::logic::UnaryBooleanOperatorType
OperatorType
;
13
14
UnaryBooleanPathFormula
(
OperatorType
operatorType, std::shared_ptr<Formula const>
const
& subformula,
FormulaContext
context =
FormulaContext::Probability
);
15
16
virtual
~UnaryBooleanPathFormula
() {
17
// Intentionally left empty.
18
};
19
20
FormulaContext
const
&
getContext
()
const
;
21
22
virtual
bool
isUnaryBooleanPathFormula
()
const override
;
23
virtual
bool
isProbabilityPathFormula
()
const override
;
24
25
virtual
boost::any
accept
(
FormulaVisitor
const
& visitor, boost::any
const
& data)
const override
;
26
27
OperatorType
getOperator
()
const
;
28
29
virtual
bool
isNot
()
const
;
30
31
virtual
std::ostream&
writeToStream
(std::ostream& out,
bool
allowParentheses =
false
)
const override
;
32
33
private
:
34
OperatorType
operatorType;
35
FormulaContext
context;
36
};
37
}
// namespace logic
38
}
// namespace storm
39
40
#endif
/* STORM_LOGIC_UNARYBOOLEANPATHFORMULA_H_ */
FormulaContext.h
UnaryBooleanOperatorType.h
UnaryPathFormula.h
storm::logic::FormulaVisitor
Definition
FormulaVisitor.h:12
storm::logic::UnaryBooleanPathFormula
Definition
UnaryBooleanPathFormula.h:10
storm::logic::UnaryBooleanPathFormula::isNot
virtual bool isNot() const
Definition
UnaryBooleanPathFormula.cpp:39
storm::logic::UnaryBooleanPathFormula::accept
virtual boost::any accept(FormulaVisitor const &visitor, boost::any const &data) const override
Definition
UnaryBooleanPathFormula.cpp:31
storm::logic::UnaryBooleanPathFormula::getOperator
OperatorType getOperator() const
Definition
UnaryBooleanPathFormula.cpp:35
storm::logic::UnaryBooleanPathFormula::writeToStream
virtual std::ostream & writeToStream(std::ostream &out, bool allowParentheses=false) const override
Writes the forumla to the given output stream.
Definition
UnaryBooleanPathFormula.cpp:43
storm::logic::UnaryBooleanPathFormula::~UnaryBooleanPathFormula
virtual ~UnaryBooleanPathFormula()
Definition
UnaryBooleanPathFormula.h:16
storm::logic::UnaryBooleanPathFormula::getContext
FormulaContext const & getContext() const
Definition
UnaryBooleanPathFormula.cpp:19
storm::logic::UnaryBooleanPathFormula::isUnaryBooleanPathFormula
virtual bool isUnaryBooleanPathFormula() const override
Definition
UnaryBooleanPathFormula.cpp:23
storm::logic::UnaryBooleanPathFormula::OperatorType
storm::logic::UnaryBooleanOperatorType OperatorType
Definition
UnaryBooleanPathFormula.h:12
storm::logic::UnaryBooleanPathFormula::isProbabilityPathFormula
virtual bool isProbabilityPathFormula() const override
Definition
UnaryBooleanPathFormula.cpp:27
storm::logic::UnaryPathFormula
Definition
UnaryPathFormula.h:10
storm::logic::FormulaContext
FormulaContext
Definition
FormulaContext.h:9
storm::logic::FormulaContext::Probability
@ Probability
storm::logic::UnaryBooleanOperatorType
UnaryBooleanOperatorType
Definition
UnaryBooleanOperatorType.h:5
storm
LabParser.cpp.
Definition
cli.cpp:18
src
storm
logic
UnaryBooleanPathFormula.h
Generated by
1.9.8