Split dijkstra.py into three files: node, edge, graph

This commit is contained in:
2024-06-30 19:09:47 +02:00
parent 509c7fec8a
commit 9870a643dd
3 changed files with 12 additions and 36 deletions

4
src/graph/node.py Normal file
View File

@@ -0,0 +1,4 @@
class Node:
def __init__(self, x: int, y: int):
self.x: int = x
self.y: int = y