Starting the Graph Assignment

Objectives
  • Start the graph assignment

  • Learn how to read a distance chart

  • Build a graph data structure

  • Write the resulting structure in a format that will allow you to visual the graph using GraphViz

Getting Started

Complete the Getting Started section for P8.

Description

The TA will describe the assignment and go over the supplied code. In particular, they will:

  1. discuss the GraphNode class.

  2. discuss the GraphEdge class.

  3. go over the methods in the GraphAbstract class and discuss what each of them does.

Instructions

Take time to fully understand the provided code and then complete Part One of P8.

Submission

Show the lab instructor:

  1. The readGraph method

  2. The writeGraph method

  3. The resulting DOT graph generated by the GraphViz program

to receive credit for this lab.