13 for (
auto& f : model.getGlobalFunctionDefinitions()) {
17 for (
auto& aut : model.getAutomata()) {
23 for (
auto& nonTrivRew : model.getNonTrivialRewardExpressions()) {
60 for (
auto& v : variableSet) {
82 if (boundedType.hasLowerBound()) {
83 traverse(boundedType.getLowerBound(), data);
85 if (boundedType.hasUpperBound()) {
86 traverse(boundedType.getUpperBound(), data);
128 for (
auto& assignment : orderedAssignments) {
131 STORM_LOG_ASSERT(orderedAssignments.
checkOrder(),
"Order of ordered assignment\n" << orderedAssignments <<
"\nhas been violated.");
205 for (
auto const& v : variableSet) {
227 if (boundedType.hasLowerBound()) {
228 traverse(boundedType.getLowerBound(), data);
230 if (boundedType.hasUpperBound()) {
231 traverse(boundedType.getUpperBound(), data);
273 for (
auto const& assignment : orderedAssignments) {
storm::expressions::Expression const & getAssignedExpression() const
Retrieves the expression whose value is assigned to the target variable.
storm::jani::LValue const & getLValue() const
Retrieves the lValue that is written in this assignment.
VariableSet & getVariables()
Retrieves the variables of this automaton.
storm::expressions::Expression const & getInitialStatesRestriction() const
Gets the expression restricting the legal initial values of the automaton's variables.
std::vector< Location > const & getLocations() const
Retrieves the locations of the automaton.
bool hasInitialStatesRestriction() const
Retrieves whether this automaton has an initial states restriction.
std::unordered_map< std::string, FunctionDefinition > const & getFunctionDefinitions() const
Retrieves all function definitions of this automaton.
EdgeContainer const & getEdgeContainer() const
Retrieves the container of all edges of this automaton.
virtual void traverse(Model const &model, boost::any const &data)
bool hasConstraint() const
Retrieves whether there is a constraint for the possible values of this constant.
storm::expressions::Expression const & getConstraintExpression() const
Retrieves the expression that constraints the possible values of this constant (if any).
bool isDefined() const
Retrieves whether the constant is defined in the sense that it has a defining expression.
storm::expressions::Expression const & getExpression() const
Retrieves the expression that defines this constant (if any).
TemplateEdgeContainer const & getTemplateEdges() const
std::vector< Edge > const & getConcreteEdges() const
storm::expressions::Expression const & getProbability() const
Retrieves the probability of choosing this destination.
std::vector< EdgeDestination > const & getDestinations() const
Retrieves the destinations of this edge.
bool hasRate() const
Retrieves whether this edge has an associated rate.
storm::expressions::Expression const & getRate() const
Retrieves the rate of this edge.
storm::expressions::Expression const & getFunctionBody() const
Retrieves the expression that defines the function.
virtual void traverse(Model &model, boost::any const &data)
ArrayType const & asArrayType() const
virtual bool isArrayType() const
virtual bool isBoundedType() const
BoundedType const & asBoundedType() const
std::vector< storm::expressions::Expression > & getArrayIndexVector()
Returns the referred variable. In case of an array access, this is the referred array variable.
bool isArrayAccess() const
Returns true if the lValue refers either to an array variable or to an array access.
OrderedAssignments const & getAssignments() const
Retrieves the assignments of this location.
storm::expressions::Expression const & getTimeProgressInvariant() const
Retrieves the time progress invariant.
bool hasTimeProgressInvariant() const
Retrieves whether a time progress invariant is attached to this location.
VariableSet & getGlobalVariables()
Retrieves the variables of this automaton.
std::unordered_map< std::string, storm::expressions::Expression > const & getNonTrivialRewardExpressions() const
Retrieves all available non-trivial reward model names and expressions of the model.
bool hasInitialStatesRestriction() const
Retrieves whether there is an expression restricting the legal initial values of the global variables...
storm::expressions::Expression const & getInitialStatesRestriction() const
Gets the expression restricting the legal initial values of the global variables.
std::vector< Automaton > & getAutomata()
Retrieves the automata of the model.
std::vector< Constant > const & getConstants() const
Retrieves the constants of the model.
std::vector< Action > const & getActions() const
Retrieves the actions of the model.
std::unordered_map< std::string, FunctionDefinition > const & getGlobalFunctionDefinitions() const
Retrieves all global function definitions.
bool checkOrder() const
Checks whether this ordered assignment is in the correct order.
OrderedAssignments const & getOrderedAssignments() const
storm::expressions::Expression const & getGuard() const
std::vector< TemplateEdgeDestination > const & getDestinations() const
OrderedAssignments const & getAssignments() const
bool hasInitExpression() const
Retrieves whether an initial expression is set.
storm::expressions::Expression const & getInitExpression() const
Retrieves the initial expression Should only be called if an initial expression is set for this varia...
#define STORM_LOG_ASSERT(cond, message)