2#include <boost/any.hpp>
14 : timeBoundType(timeBoundType), bound(bound) {
27 return visitor.
visit(*
this, data);
52 checkNoVariablesInBound(bound);
54 STORM_LOG_THROW(value >= 0, storm::exceptions::InvalidPropertyException,
"Time-bound must not evaluate to negative number.");
60 checkNoVariablesInBound(bound);
62 STORM_LOG_THROW(value >= 0, storm::exceptions::InvalidPropertyException,
"Time-bound must not evaluate to negative number.");
72 "Cannot evaluate time-instant '" << bound <<
"' as it contains undefined constants.");
int_fast64_t evaluateAsInt(Valuation const *valuation=nullptr) const
Evaluates the expression under the valuation of variables given by the valuation and returns the resu...
double evaluateAsDouble(Valuation const *valuation=nullptr) const
Evaluates the expression under the valuation of variables given by the valuation and returns the resu...
bool containsVariables() const
Retrieves whether the expression contains a variable.
bool hasIntegerType() const
Retrieves whether the expression has an integral return type.
void gatherVariables(std::set< storm::expressions::Variable > &variables) const
Retrieves the set of all variables that appear in the expression.
#define STORM_LOG_THROW(cond, exception, message)