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.
22 lines
690 B
22 lines
690 B
#ifndef STORM_LOGIC_COMPARISONTYPE_H_
|
|
#define STORM_LOGIC_COMPARISONTYPE_H_
|
|
|
|
#include <iostream>
|
|
|
|
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);
|
|
}
|
|
}
|
|
|
|
#endif /* STORM_LOGIC_COMPARISONTYPE_H_ */
|