Browse Source

logic::comparisontype operations

Former-commit-id: fdcb275bc8
tempestpy_adaptions
sjunges 9 years ago
parent
commit
46d8accf6e
  1. 9
      src/logic/ComparisonType.h

9
src/logic/ComparisonType.h

@ -6,7 +6,14 @@
namespace storm {
namespace logic {
enum class ComparisonType { Less, LessEqual, Greater, GreaterEqual };
inline bool isStrict(ComparisonType t) {
return (t == ComparisonType::Less || t == ComparisonType::Greater);
}
inline bool isLowerBound(ComparisonType t) {
return (t == ComparisonType::Greater || t == ComparisonType::GreaterEqual);
}
std::ostream& operator<<(std::ostream& out, ComparisonType const& comparisonType);
}
}

Loading…
Cancel
Save