Skip to content

Commit a4c5754

Browse files
committed
added docstring.
1 parent c5d5256 commit a4c5754

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

graph/distance_map.py

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
def distance_map(graph, starts=None, ends=None, reverse=False):
99
"""Maps the shortest path distance from any start to any end.
10+
11+
The "many to many" version of single source shortest path.
12+
1013
:param graph: instance of Graph
1114
:param starts: None, node or (set,list,tuple) of nodes
1215
:param ends: None (exhaustive map), node or (set,list,tuple) of nodes

0 commit comments

Comments
 (0)