| 15 | type Vertex int |
| 16 | |
| 17 | type Edge struct { |
| 18 | Start Vertex |
| 19 | End Vertex |
| 20 | Weight int |
| 21 | } |
| 22 | |
| 23 | func KruskalMST(n int, edges []Edge) ([]Edge, int) { |
| 24 | // Initialize variables to store the minimum spanning tree and its total cost |
nothing calls this directly
no outgoing calls
no test coverage detected