public class AdjacencyList extends Object
Constructor and Description |
---|
AdjacencyList() |
Modifier and Type | Method and Description |
---|---|
static int[][] |
getAdjacencyList(boolean[][] adjacencyMatrix)
Calculates a adjacency-list for a given array of an adjacency-matrix.
|
public static int[][] getAdjacencyList(boolean[][] adjacencyMatrix)
adjacencyMatrix
- array with the adjacency-matrix that represents
the graphCopyright © 2005–2020. All rights reserved.