Note

This is the documentation for the current state of the development branch of rustworkx. The documentation or APIs here can change prior to being released.

rustworkx.visit.DijkstraVisitor.edge_relaxed#

DijkstraVisitor.edge_relaxed(edge)[source]#

Upon examination, if the distance of the target of the edge is reduced, this event is emitted.