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.
31 lines
1.2 KiB
31 lines
1.2 KiB
#ifndef STORM_LOGIC_UNARYSTATEFORMULA_H_
|
|
#define STORM_LOGIC_UNARYSTATEFORMULA_H_
|
|
|
|
#include "storm/logic/StateFormula.h"
|
|
|
|
namespace storm {
|
|
namespace logic {
|
|
class UnaryStateFormula : public StateFormula {
|
|
public:
|
|
UnaryStateFormula(std::shared_ptr<Formula const> subformula);
|
|
|
|
virtual ~UnaryStateFormula() {
|
|
// Intentionally left empty.
|
|
}
|
|
|
|
virtual bool isUnaryStateFormula() const override;
|
|
|
|
Formula const& getSubformula() const;
|
|
|
|
virtual void gatherAtomicExpressionFormulas(std::vector<std::shared_ptr<AtomicExpressionFormula const>>& atomicExpressionFormulas) const override;
|
|
virtual void gatherAtomicLabelFormulas(std::vector<std::shared_ptr<AtomicLabelFormula const>>& atomicLabelFormulas) const override;
|
|
virtual void gatherReferencedRewardModels(std::set<std::string>& referencedRewardModels) const override;
|
|
virtual void gatherUsedVariables(std::set<storm::expressions::Variable>& usedVariables) const override;
|
|
|
|
private:
|
|
std::shared_ptr<Formula const> subformula;
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif /* STORM_LOGIC_UNARYSTATEFORMULA_H_ */
|