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:
-
discuss the
GraphNode
class. -
discuss the
GraphEdge
class. -
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:
-
The
readGraph
method -
The
writeGraph
method -
The resulting DOT graph generated by the
GraphViz
program
to receive credit for this lab.