13 : locationIndex(locationIndex), probability(probability), templateEdgeDestination(templateEdgeDestination) {
26 this->probability = probability;
30 std::map<storm::expressions::Variable, storm::expressions::Expression> result;
33 result[assignment.getExpressionVariable()] = assignment.getAssignedExpression();
40 return templateEdgeDestination.get().getOrderedAssignments();
44 bool const substituteTranscendentalNumbers) {
64 return templateEdgeDestination.get();
68 templateEdgeDestination = newTed;
std::map< storm::expressions::Variable, storm::expressions::Expression > getAsVariableToExpressionMap() const
Retrieves the mapping from variables to their assigned expressions that corresponds to the assignment...
bool hasAssignment(Assignment const &assignment) const
Checks whether this destination has the given assignment.
TemplateEdgeDestination const & getTemplateEdgeDestination() const
Retrieves the template destination for this destination.
void updateTemplateEdgeDestination(TemplateEdgeDestination const &newTed)
bool usesAssignmentLevels() const
Retrieves whether the edge uses an assignment level other than zero.
storm::expressions::Expression const & getProbability() const
Retrieves the probability of choosing this destination.
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 hasTransientAssignment() const
Retrieves whether this destination has transient assignments.
OrderedAssignments const & getOrderedAssignments() const
Retrieves the assignments to make when choosing this destination.
EdgeDestination(uint64_t locationIndex, storm::expressions::Expression const &probability, TemplateEdgeDestination const &templateEdgeDestination)
Creates a new edge destination.
void setProbability(storm::expressions::Expression const &probability)
Sets a new probability for this edge destination.
uint64_t getLocationIndex() const
Retrieves the id of the destination location.
int64_t getLowestLevel(bool onlyTransient=false) const
Retrieves the lowest level among all assignments.
detail::ConstAssignments getTransientAssignments() const
Returns all transient assignments in this set of assignments.
int64_t getHighestLevel(bool onlyTransient=false) const
Retrieves the highest level among all assignments.
bool contains(Assignment const &assignment) const
Retrieves whether the given assignment is contained in this set of assignments.
storm::expressions::Expression substituteJaniExpression(storm::expressions::Expression const &expression, std::map< storm::expressions::Variable, storm::expressions::Expression > const &identifierToExpressionMap, bool const substituteTranscendentalNumbers)