shortest_paths module¶
Created on Mon May 28 14:55:03 2018
@author: jpelda
-
shortest_paths.
shortest_paths
(graph, gdf, end_node)[source]¶ - Finds shortest paths from many start points to one end point, if gdf.wc
- is not 0.
- graph : networkx.Graph()
- The graph for which the shortest paths are calculated.
- gdf : geopandas.DataFrame()
- gdf.wc shows if path is calculated, if gdf.wc == 0 path is not calc.
- end_node : int
- Node number to which path is calculated to.
dic.values() : giving all paths for each gdf