|
| Edge ()=default |
|
| Edge (uint64_t sourceLocationIndex, uint64_t actionIndex, boost::optional< storm::expressions::Expression > const &rate, std::shared_ptr< TemplateEdge > const &templateEdge, std::vector< std::pair< uint64_t, storm::expressions::Expression > > const &destinationTargetLocationsAndProbabilities) |
|
| Edge (uint64_t sourceLocationIndex, uint64_t actionIndex, boost::optional< storm::expressions::Expression > const &rate, std::shared_ptr< TemplateEdge > const &templateEdge, std::vector< uint64_t > const &destinationLocations, std::vector< storm::expressions::Expression > const &destinationProbabilities) |
|
uint64_t | getSourceLocationIndex () const |
| Retrieves the index of the source location.
|
|
uint64_t | getActionIndex () const |
| Retrieves the id of the action with which this edge is labeled.
|
|
bool | hasSilentAction () const |
| Returns whether it contains the silent action.
|
|
bool | hasRate () const |
| Retrieves whether this edge has an associated rate.
|
|
storm::expressions::Expression const & | getRate () const |
| Retrieves the rate of this edge.
|
|
boost::optional< storm::expressions::Expression > const & | getOptionalRate () const |
| Retrieves an optional that stores the rate if there is any and none otherwise.
|
|
void | setRate (storm::expressions::Expression const &rate) |
| Sets a new rate for this edge.
|
|
storm::expressions::Expression const & | getGuard () const |
| Retrieves the guard of this edge.
|
|
void | setGuard (storm::expressions::Expression const &guard) |
| Sets a new guard for this edge.
|
|
EdgeDestination const & | getDestination (uint64_t index) const |
| Retrieves the destination with the given index.
|
|
std::vector< EdgeDestination > const & | getDestinations () const |
| Retrieves the destinations of this edge.
|
|
std::vector< EdgeDestination > & | getDestinations () |
| Retrieves the destinations of this edge.
|
|
std::size_t | getNumberOfDestinations () const |
| Retrieves the number of destinations of this edge.
|
|
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.
|
|
storm::storage::FlatSet< storm::expressions::Variable > const & | getWrittenGlobalVariables () const |
| Retrieves a set of (global) variables that are written by at least one of the edge's destinations.
|
|
OrderedAssignments const & | getAssignments () const |
| Retrieves the assignments of this edge.
|
|
bool | usesVariablesInNonTransientAssignments (std::set< storm::expressions::Variable > const &variables) const |
| Checks whether the provided variables appear on the right-hand side of non-transient assignments.
|
|
bool | hasTransientEdgeDestinationAssignments () const |
| Retrieves whether there is any transient edge destination assignment in the edge.
|
|
bool | usesAssignmentLevels (bool onlyTransient=false) const |
| Retrieves whether the edge uses an assignment level other than zero.
|
|
uint64_t | getColor () const |
| Retrieves the color of the edge.
|
|
void | setColor (uint64_t newColor) |
| Sets the color of the edge.
|
|
void | simplifyIndexedAssignments (VariableSet const &localVars) |
|
std::shared_ptr< TemplateEdge > const & | getTemplateEdge () |
|
void | setTemplateEdge (std::shared_ptr< TemplateEdge > const &newTe) |
|
int64_t const & | getLowestAssignmentLevel () const |
| Retrieves the lowest assignment level occurring in a destination assignment.
|
|
int64_t const & | getHighestAssignmentLevel () const |
| Retrieves the highest assignment level occurring in a destination assignment If no assignment exists, this value is always zero.
|
|
std::string | toString () const |
|
void | assertValid () const |
|
Definition at line 17 of file Edge.h.