transbigdata.get_path_traveltime
- transbigdata.get_path_traveltime(G, path)
Obtain the travel time of the path
- Parameters:
G (networkx.classes.graph.Graph) – metro network
path (list) – list of stationnames
- Returns:
traveltime – travel time of the path
- Return type:
float