Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
BinaryBooleanPathFormula.h
Go to the documentation of this file.
1#ifndef STORM_LOGIC_BINARYBOOLEANPATHFORMULA_H_
2#define STORM_LOGIC_BINARYBOOLEANPATHFORMULA_H_
3
4#include <map>
5
9
10namespace storm {
11namespace logic {
13 public:
15
16 BinaryBooleanPathFormula(OperatorType operatorType, std::shared_ptr<Formula const> const& leftSubformula,
17 std::shared_ptr<Formula const> const& rightSubformula, FormulaContext context = FormulaContext::Probability);
18
20 // Intentionally left empty.
21 };
22
23 FormulaContext const& getContext() const;
24
25 virtual bool isBinaryBooleanPathFormula() const override;
26 virtual bool isProbabilityPathFormula() const override;
27
28 virtual boost::any accept(FormulaVisitor const& visitor, boost::any const& data) const override;
29
31
32 virtual bool isAnd() const;
33 virtual bool isOr() const;
34
35 virtual std::ostream& writeToStream(std::ostream& out, bool allowParentheses = false) const override;
36
37 private:
38 OperatorType operatorType;
39 FormulaContext context;
40};
41} // namespace logic
42} // namespace storm
43
44#endif /* STORM_LOGIC_BINARYBOOLEANPATHFORMULA_H_ */
virtual bool isBinaryBooleanPathFormula() const override
virtual boost::any accept(FormulaVisitor const &visitor, boost::any const &data) const override
virtual bool isProbabilityPathFormula() const override
storm::logic::BinaryBooleanOperatorType OperatorType
virtual std::ostream & writeToStream(std::ostream &out, bool allowParentheses=false) const override
Writes the forumla to the given output stream.
LabParser.cpp.
Definition cli.cpp:18