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
7
8namespace storm {
9namespace logic {
11 public:
13
14 UnaryBooleanPathFormula(OperatorType operatorType, std::shared_ptr<Formula const> const& subformula, FormulaContext context = FormulaContext::Probability);
15
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
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_ */
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
LabParser.cpp.
Definition cli.cpp:18