CS200 Lab 11, Adjacency List Graphs

Overview

In this lab you will create adjacency lists consisting of a source, an inDegree and an ArrayList of destinations. Then you will create graphs containing an ArrayList of adjacency lists. See the Graphs 1 lecture notes. Take the following codes and put them in an Eclipse project: Implement the AdjList class, then implement the depGraph class. A more elaborate version of this code, with a topological sort in DepGraph, occurs in P5.