Commit e59f1e8c authored by Bertrand Néron's avatar Bertrand Néron
Browse files

🐛 remove non senss method get_node from NDGraph

parent e364daba
...@@ -22,11 +22,6 @@ class NDGraph: ...@@ -22,11 +22,6 @@ class NDGraph:
def del_node(self, node: 'Node') -> None: def del_node(self, node: 'Node') -> None:
self.nodes.remove(node) self.nodes.remove(node)
def get_node(self, node_id: int) -> Optional['Node']:
for n in self.neighbors:
if == node_id:
return n
class Node: class Node:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment