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.
34 lines
767 B
34 lines
767 B
#pragma once
|
|
|
|
#include <memory>
|
|
|
|
namespace storm {
|
|
namespace logic {
|
|
|
|
enum class ShieldingType {
|
|
PostSafety,
|
|
PreSafety,
|
|
Optimal
|
|
};
|
|
|
|
enum class ShieldComparison { Absolute, Relative };
|
|
|
|
class ShieldExpression {
|
|
public:
|
|
ShieldExpression();
|
|
ShieldExpression(ShieldingType type, ShieldComparison comparison, double value);
|
|
|
|
bool isRelative() const;
|
|
bool isPreSafetyShield() const;
|
|
bool isPostSafetyShield() const;
|
|
bool isOptiomalShield() const;
|
|
|
|
double getValue() const;
|
|
|
|
private:
|
|
ShieldingType type;
|
|
ShieldComparison comparison;
|
|
double value;
|
|
};
|
|
}
|
|
}
|