private void InitializeTree(int width, int height) { _innerMatrix = new KruskalNode[width, height]; for (int i = 0; i < width; i++) for (int j = 0; j < height; j++) _innerMatrix[i, j] = new KruskalNode(); }
private void InitializeTree(int width, int height) { _innerMatrix = new KruskalNode[width, height]; for (int i = 0; i < width; i++) { for (int j = 0; j < height; j++) { _innerMatrix[i, j] = new KruskalNode(); } } }
public KruskalNode() { Parent = null; }