From: Scott Gasch Date: Sat, 17 Dec 2022 20:02:14 +0000 (-0800) Subject: Update docs. X-Git-Url: https://wannabe.guru.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=39bd3965c3270b5e7f0cdcb566f3e6a13f0ed3e0;p=pyutils.git Update docs. --- diff --git a/src/pyutils/graph.py b/src/pyutils/graph.py index 24a9213..099bc2c 100644 --- a/src/pyutils/graph.py +++ b/src/pyutils/graph.py @@ -309,11 +309,11 @@ class Graph(object): .. note:: - This method runs Dijkstra's algorithm - (https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm) - internally and caches the results. Subsequent calls made with - the same source node before modifying the graph are less - expensive due to these cached intermediate results. + This method runs Dijkstra's algorithm + (https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm) + internally and caches the results. Subsequent calls made with + the same source node before modifying the graph are less + expensive due to these cached intermediate results. Returns: A tuple containing the minimum distance of the path and the path itself.