MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / __init__

Method __init__

graphs/minimum_spanning_tree_boruvka.py:106–108  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

104 """
105
106 def __init__(self):
107 self.parent = {}
108 self.rank = {}
109
110 def __len__(self):
111 return len(self.parent)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected