6#include <boost/optional.hpp>
25 std::string
const&
getName()
const;
35 std::vector<storm::expressions::Variable>
const&
getParameters()
const;
52 void substitute(std::map<storm::expressions::Variable, storm::expressions::Expression>
const& substitution,
bool const substituteTranscendentalNumbers);
62 std::vector<storm::expressions::Variable> parameters;
storm::expressions::Expression const & getFunctionBody() const
Retrieves the expression that defines the function.
void substitute(std::map< storm::expressions::Variable, storm::expressions::Expression > const &substitution, bool const substituteTranscendentalNumbers)
storm::expressions::Expression call(std::vector< std::shared_ptr< storm::expressions::BaseExpression const > > const &arguments) const
Calls the function with the given arguments.
std::string const & getName() const
Retrieves the name of the function.
std::vector< storm::expressions::Variable > const & getParameters() const
Retrieves the parameters of the function.
storm::expressions::Type const & getType() const
Retrieves the type of the function.
void setFunctionBody(storm::expressions::Expression const &body)
sets the expression that defines the function