Split dijkstra.py into three files: node, edge, graph
This commit is contained in:
4
src/graph/node.py
Normal file
4
src/graph/node.py
Normal file
@@ -0,0 +1,4 @@
|
||||
class Node:
|
||||
def __init__(self, x: int, y: int):
|
||||
self.x: int = x
|
||||
self.y: int = y
|
||||
Reference in New Issue
Block a user