2#include <boost/any.hpp>
18 return visitor.
visit(*
this, data);
26 atomicExpressionFormulas.push_back(std::dynamic_pointer_cast<AtomicExpressionFormula const>(this->shared_from_this()));
34 bool parentheses = allowParentheses & (this->expression.
isLiteral() || this->expression.
isVariable());
bool isVariable() const
Retrieves whether the expression is a variable.
bool isLiteral() const
Retrieves whether the expression is a literal.
void gatherVariables(std::set< storm::expressions::Variable > &variables) const
Retrieves the set of all variables that appear in the expression.