You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

33 lines
1.2 KiB

#ifndef STORM_LOGIC_ATOMICEXPRESSIONFORMULA_H_
#define STORM_LOGIC_ATOMICEXPRESSIONFORMULA_H_
#include "src/logic/StateFormula.h"
namespace storm {
namespace logic {
class AtomicExpressionFormula : public StateFormula {
public:
AtomicExpressionFormula(storm::expressions::Expression const& expression);
virtual ~AtomicExpressionFormula() {
// Intentionally left empty.
}
virtual bool isAtomicExpressionFormula() const override;
virtual boost::any accept(FormulaVisitor const& visitor, boost::any const& data) const override;
storm::expressions::Expression const& getExpression() const;
virtual std::ostream& writeToStream(std::ostream& out) const override;
virtual void gatherAtomicExpressionFormulas(std::vector<std::shared_ptr<AtomicExpressionFormula const>>& atomicExpressionFormulas) const override;
private:
// The atomic expression represented by this node in the formula tree.
storm::expressions::Expression expression;
};
}
}
#endif /* STORM_LOGIC_ATOMICEXPRESSIONFORMULA_H_ */