6template<
typename ValueType>
8 ValueType thresholdAsValueType = evaluateThresholdAs<ValueType>();
11 return compareValue > thresholdAsValueType;
13 return compareValue >= thresholdAsValueType;
15 return compareValue < thresholdAsValueType;
17 return compareValue <= thresholdAsValueType;
19 STORM_LOG_THROW(
false, storm::exceptions::IllegalArgumentException,
"Unknown ComparisonType");
26template<
typename ValueType>
32#if defined(STORM_HAVE_CLN)
36#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