public class KruskalAlgorithm
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_VALUE |
Constructor and Description |
---|
KruskalAlgorithm(int numberOfVertices) |
Modifier and Type | Method and Description |
---|---|
int[][] |
getSpanningTree() |
int[] |
getVisited() |
void |
kruskalAlgorithm(int[][] adjacencyMatrix) |
static void |
main(java.lang.String... arg) |
java.lang.String |
printTree(int[][] spanning_tree) |
public static final int MAX_VALUE