MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / add_edge

Method add_edge

Python/Kruskal's_Algorithm.py:9–10  ·  view source on GitHub ↗
(self, u, v, w)

Source from the content-addressed store, hash-verified

7 self.graph = []
8
9 def add_edge(self, u, v, w):
10 self.graph.append([u, v, w])
11
12 # Search function
13

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected