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.
32 lines
1009 B
32 lines
1009 B
#ifndef STORM_LOGIC_BOOLEANLITERALFORMULA_H_
|
|
#define STORM_LOGIC_BOOLEANLITERALFORMULA_H_
|
|
|
|
#include "src/logic/StateFormula.h"
|
|
|
|
namespace storm {
|
|
namespace logic {
|
|
class BooleanLiteralFormula : public StateFormula {
|
|
public:
|
|
BooleanLiteralFormula(bool value);
|
|
|
|
virtual ~BooleanLiteralFormula() {
|
|
// Intentionally left empty.
|
|
}
|
|
|
|
virtual bool isBooleanLiteralFormula() const override;
|
|
virtual bool isTrueFormula() const override;
|
|
virtual bool isFalseFormula() const override;
|
|
|
|
virtual bool isPctlStateFormula() const override;
|
|
virtual bool isLtlFormula() const override;
|
|
virtual bool isPropositionalFormula() const override;
|
|
|
|
virtual std::ostream& writeToStream(std::ostream& out) const override;
|
|
|
|
private:
|
|
bool value;
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif /* STORM_LOGIC_BOOLEANLITERALFORMULA_H_ */
|