Skip to content

Commit 347bdb7

Browse files
authored
feat: add graph algorithem
1 parent 5e4608b commit 347bdb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydatastructs/graphs/algorithms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ def shortest_paths(graph: Graph, algorithm: str, source: str, target: str = "",
718718
(distances[target], predecessors): (float, dict)
719719
If target is provided and algorithm used is
720720
'bellman_ford'/'dijkstra'/'A_star'.
721-
721+
722722
Examples
723723
========
724724
>>> from pydatastructs import Graph, AdjacencyListGraphNode

0 commit comments

Comments
 (0)