public class Prims
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
INFINITE |
Constructor and Description |
---|
Prims(int numberofvertices) |
Modifier and Type | Method and Description |
---|---|
void |
evaluateNeighbours(int evaluationVertex) |
int[] |
getParent() |
int |
getUnsettledCount(boolean[] unsettled) |
void |
primsAlgorithm(int[][] adjacencyMatrix) |
public static final int INFINITE