Skip to content

Commit

Permalink
Corriger une erreur dans CityGraph
Browse files Browse the repository at this point in the history
  • Loading branch information
Fur0rem authored Jan 30, 2024
1 parent 0c18054 commit 903f7a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/CityGraph.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import osmnx as ox
import networkx as nx

class CityGraph :
"""
Expand Down Expand Up @@ -46,7 +47,8 @@ def size(self) :
def get_edge_index(self, edge_idx : int) :
return list(self.graph.edges())[edge_idx]

def read_from_file(file_path : str) -> CityGraph :
@staticmethod
def read_from_file(file_path : str) :
# TODO
return None

Expand Down

0 comments on commit 903f7a4

Please sign in to comment.