7template<
typename ValueType>
9 ValueType thresholdAsValueType = evaluateThresholdAs<ValueType>();
12 return compareValue > thresholdAsValueType;
14 return compareValue >= thresholdAsValueType;
16 return compareValue < thresholdAsValueType;
18 return compareValue <= thresholdAsValueType;
20 STORM_LOG_THROW(
false, storm::exceptions::IllegalArgumentException,
"Unknown ComparisonType");
27template<
typename ValueType>
33#if defined(STORM_HAVE_CLN)
37#if defined(STORM_HAVE_GMP)
storm::RationalNumber evaluateAsRational() const
Evaluates the expression and returns the resulting rational number.
#define STORM_LOG_THROW(cond, exception, message)
ComparisonType comparisonType
storm::expressions::Expression threshold
storm::RationalNumber evaluateThresholdAsRational() const
bool isSatisfied(ValueType const &compareValue) const
ValueType evaluateThresholdAs() const