Contains: 3 files, each a separate implementation of Graph and Directed Graph concepts: AdjacencyList2.py, AdjacencyMatrix.py, EdgeList.py AdjacencyList2.py uses an adjacency list to store vertices, ...
In graph theory and computer science, an adjacency matrix is a square matrix used to represent a finite graph. The elements of the matrix indicate whether pairs of vertices are adjacent or not in the ...