MCPcopy Create free account
hub / github.com/PrajaktaSathe/Java / Graph

Method Graph

Programs/Kruskal.java:23–29  ·  view source on GitHub ↗
(int v, int e)

Source from the content-addressed store, hash-verified

21
22 // Graph creation
23 Graph(int v, int e) {
24 vertices = v;
25 edges = e;
26 edge = new Edge[edges];
27 for (int i = 0; i < e; ++i)
28 edge[i] = new Edge();
29 }
30
31 int find(subset subsets[], int i) {
32 if (subsets[i].parent != i)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected