Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
Bound.h
Go to the documentation of this file.
1#ifndef STORM_LOGIC_BOUND_H_
2#define STORM_LOGIC_BOUND_H_
3
10
11namespace storm {
12namespace logic {
13struct Bound {
17
20
21 template<typename ValueType>
22 bool isSatisfied(ValueType const& compareValue) const;
23
24 storm::RationalNumber evaluateThresholdAsRational() const;
25
26 template<typename ValueType>
27 ValueType evaluateThresholdAs() const;
28
32
36
37 friend std::ostream& operator<<(std::ostream& out, Bound const& bound);
38};
39
40inline std::ostream& operator<<(std::ostream& out, Bound const& bound) {
41 out << bound.comparisonType << bound.threshold;
42 return out;
43}
44} // namespace logic
45
46} // namespace storm
47
48#endif /* STORM_LOGIC_BOUND_H_ */
std::ostream & operator<<(std::ostream &out, Bound const &bound)
Definition Bound.h:40
ComparisonType invert(ComparisonType t)
LabParser.cpp.
Definition cli.cpp:18
ComparisonType comparisonType
Definition Bound.h:18
Bound(ComparisonType comparisonType, storm::expressions::Expression const &threshold)
Definition Bound.h:14
Bound getInvertedBound() const
Definition Bound.h:33
bool isLowerBound() const
Definition Bound.h:29
storm::expressions::Expression threshold
Definition Bound.h:19
friend std::ostream & operator<<(std::ostream &out, Bound const &bound)
Definition Bound.h:40
storm::RationalNumber evaluateThresholdAsRational() const
Definition Bound.cpp:22
bool isSatisfied(ValueType const &compareValue) const
Definition Bound.cpp:7
ValueType evaluateThresholdAs() const
Definition Bound.cpp:27