Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
BinaryBooleanStateFormula.h
Go to the documentation of this file.
1#ifndef STORM_LOGIC_BINARYBOOLEANSTATEFORMULA_H_
2#define STORM_LOGIC_BINARYBOOLEANSTATEFORMULA_H_
3
4#include <map>
5
8
9namespace storm {
10namespace logic {
12 public:
14
15 BinaryBooleanStateFormula(OperatorType operatorType, std::shared_ptr<Formula const> const& leftSubformula,
16 std::shared_ptr<Formula const> const& rightSubformula);
17
19 // Intentionally left empty.
20 };
21
22 virtual bool isBinaryBooleanStateFormula() const override;
23
24 virtual boost::any accept(FormulaVisitor const& visitor, boost::any const& data) const override;
25
27
28 virtual bool isAnd() const;
29 virtual bool isOr() const;
30
31 virtual std::ostream& writeToStream(std::ostream& out, bool allowParentheses = false) const override;
32
33 private:
34 OperatorType operatorType;
35};
36} // namespace logic
37} // namespace storm
38
39#endif /* STORM_LOGIC_BINARYBOOLEANSTATEFORMULA_H_ */
virtual boost::any accept(FormulaVisitor const &visitor, boost::any const &data) const override
virtual bool isBinaryBooleanStateFormula() 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