14 boost::optional<Bound>
const& bound)
15 : optimalityType(optimizationDirection), bound(bound) {
44 "Cannot evaluate threshold '" <<
operatorInformation.
bound.get().threshold <<
"' as it contains undefined constants.");
51 "Cannot evaluate threshold '" <<
operatorInformation.
bound.get().threshold <<
"' as it contains undefined constants.");
58 "Cannot evaluate threshold '" <<
operatorInformation.
bound.get().threshold <<
"' as it contains undefined constants.");
59 return storm::utility::convertNumber<storm::RationalFunction>(
operatorInformation.
bound.get().threshold.evaluateAsRational());
65 "Cannot evaluate threshold '" <<
operatorInformation.
bound.get().threshold <<
"' as it contains undefined constants.");
66 return storm::utility::convertNumber<storm::Interval>(
operatorInformation.
bound.get().threshold.evaluateAsRational());
void gatherVariables(std::set< storm::expressions::Variable > &variables) const
Retrieves the set of all variables that appear in the expression.
#define STORM_LOG_ASSERT(cond, message)
#define STORM_LOG_THROW(cond, exception, message)