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

Class Edge

Programs/Kruskal.java:6–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5class Graph {
6 class Edge implements Comparable<Edge> {
7 int src, dest, weight;
8
9 public int compareTo(Edge compareEdge) {
10 return this.weight - compareEdge.weight;
11 }
12 };
13
14 // Union
15 class subset {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected