diff --git a/evrouting/gasstation/routing.py b/evrouting/gasstation/routing.py index 2dc84ce58fc0e668f7a30b6bf3db025867894fcd..1566f213ff9deccf5379c077ccdb525d8bad39cc 100644 --- a/evrouting/gasstation/routing.py +++ b/evrouting/gasstation/routing.py @@ -5,7 +5,6 @@ from evrouting.T import Node, SoC from evrouting.graph_tools import ( CONSUMPTION_KEY, DISTANCE_KEY, - CHARGING_COEFFICIENT_KEY, consumption, distance, charging_cofficient @@ -72,6 +71,7 @@ def insert_final_node(t: Node, final_soc: SoC, dist: DistFunction = dijkstra ) -> nx.DiGraph: + """Insert terminal node into extended graph an create states and edges as necessary.""" for u in gas_stations: shortest_p = dist(graph_core, t, u, weight=CONSUMPTION_KEY) w = fold_path(graph_core, shortest_p, weight=CONSUMPTION_KEY)