| Project #9 | CMSC 132 |
| Due: Sunday 12/09 at 11:00 pm | Object-Oriented Programming II |
| Type of project: Closed | Fall 2012 |
Graph Algorithms
Introduction
We have provided a class called Graph that represents an undirected weighted graph. You will implement a class called GraphSolver, which is a wrapper around a Graph providing implementations of Breadth-First-Search and Dijkstra's algorithm.
Specification
Please see the JavaDoc here.
Additional Remarks
Testing
Look at the Public Tests to get an idea of how to write tests for this project. You can rely on the Graph.createGraph method to instantiate a Graph<String> using information contained in a text file. The text file will contain one line for each edge in the graph. For example, the graph depicted at the top of this page is described by the text file publicTestGraph.txt. It looks like this:
A B 5
B C 7
C A 50
You should create some more sophisticated graphs and write your own tests that rely on them.
Grading