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