19 bool const substituteTranscendentalNumbers) {
20 assignments.substitute(substitution, substituteTranscendentalNumbers);
24 assignments.changeAssignmentVariables(remapping);
36 return assignments.
remove(assignment);
40 assignments.add(assignment, addToExisting);
44 return assignments.contains(assignment);
48 return assignments.hasTransientAssignment();
52 return assignments.hasMultipleLevels(onlyTransient);
56 return assignments.areLinear();
60 return !(assignments.empty());
bool remove(Assignment const &assignment)
Removes the given assignment from this set of assignments.
void substitute(std::map< storm::expressions::Variable, storm::expressions::Expression > const &substitution, bool const substituteTranscendentalNumbers)
Substitutes all variables in all expressions according to the given substitution.
bool hasAssignment(Assignment const &assignment) const
TemplateEdgeDestination simplifyIndexedAssignments(bool syncronized, VariableSet const &localVars) const
Simplify Indexed Assignments.
void changeAssignmentVariables(std::map< Variable const *, std::reference_wrapper< Variable const > > const &remapping)
Changes all variables in assignments based on the given mapping.
OrderedAssignments const & getOrderedAssignments() const
bool hasTransientAssignment() const
Retrieves whether this destination has transient assignments.
bool removeAssignment(Assignment const &assignment)
bool usesAssignmentLevels(bool onlyTransient=false) const
Retrieves whether the edge uses an assignment level other than zero.
bool isLinear() const
Checks the template edge destination for linearity.
void addAssignment(Assignment const &assignment, bool addToExisting=false)
TemplateEdgeDestination()=default
bool hasAssignments() const
Checks whether the templ.