19 bool const substituteTranscendentalNumbers) {
20 assignments.
substitute(substitution, substituteTranscendentalNumbers);
36 return assignments.
remove(assignment);
40 assignments.
add(assignment, addToExisting);
44 return assignments.
contains(assignment);
60 return !(assignments.
empty());
bool hasMultipleLevels(bool onlyTransient=false) const
Checks whether the assignments have several levels.
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.
void changeAssignmentVariables(std::map< Variable const *, std::reference_wrapper< Variable const > > const &remapping)
Changes all variables in assignments based on the given mapping.
bool empty(bool onlyTransient=false) const
Retrieves whether this set of assignments is empty.
OrderedAssignments simplifyLevels(bool synchronous, VariableSet const &localVars, bool first=true) const
Produces a new OrderedAssignments object with simplified leveling.
bool areLinear() const
Checks the assignments for linearity.
bool hasTransientAssignment() const
Retrieves whether the set of assignments has at least one transient assignment.
bool remove(Assignment const &assignment)
Removes the given assignment from this set of assignments.
bool add(Assignment const &assignment, bool addToExisting=false)
Adds the given assignment to the set of assignments.
bool contains(Assignment const &assignment) const
Retrieves whether the given assignment is contained in 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.