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.
- DijkstraVisitor.discover_vertex(v, score)#
This is invoked when a vertex is encountered for the first time and it’s popped from the queue. Together with the node, we report the optimal distance of the node.