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.
 
 
 
 

33 lines
989 B

#ifndef STORM_LOGIC_BOUND_H_
#define STORM_LOGIC_BOUND_H_
#include "src/logic/ComparisonType.h"
namespace storm {
namespace logic {
template<typename ValueType>
struct Bound {
Bound(ComparisonType comparisonType, ValueType const& threshold) : comparisonType(comparisonType), threshold(threshold) {
// Intentionally left empty.
}
ComparisonType comparisonType;
ValueType threshold;
template<typename ValueTypePrime>
friend std::ostream& operator<<(std::ostream& out, Bound<ValueTypePrime> const& bound);
};
template<typename ValueType>
std::ostream& operator<<(std::ostream& out, Bound<ValueType> const& bound) {
out << bound.comparisonType << bound.threshold;
return out;
}
}
template<typename ValueType>
using Bound = typename logic::Bound<ValueType>;
}
#endif /* STORM_LOGIC_BOUND_H_ */