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
6
7namespace storm {
8namespace logic {
10 public:
12
13 UnaryBooleanPathFormula(OperatorType operatorType, std::shared_ptr<Formula const> const& subformula, FormulaContext context = FormulaContext::Probability);
14
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
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
virtual boost::any accept(FormulaVisitor const &visitor, boost::any const &data) const override
virtual std::ostream & writeToStream(std::ostream &out, bool allowParentheses=false) const override
Writes the forumla to the given output stream.
virtual bool isUnaryBooleanPathFormula() const override
storm::logic::UnaryBooleanOperatorType OperatorType
virtual bool isProbabilityPathFormula() const override
UnaryBooleanPathFormula(OperatorType operatorType, std::shared_ptr< Formula const > const &subformula, FormulaContext context=FormulaContext::Probability)
UnaryPathFormula(std::shared_ptr< Formula const > const &subformula)