MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / dijkstra_2.py

File dijkstra_2.py

graphs/dijkstra_2.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1def print_dist(dist, v):
2 print("\nVertex Distance")
3 for i in range(v):
4 if dist[i] != float("inf"):

Callers

nothing calls this directly

Calls 1

dijkstraFunction · 0.70

Tested by

no test coverage detected