CS 7963 HW 1

  1. A Pittsburgh road is either a dead-end or a branch to two other Pittsburgh roads. Each branch has an sign suggesting which of the two directions to take.

    Create a data/type definition for Pittsburgh roads and a generic template.

  2. Implement the Pittsburgh-road function count-dead-ends.

  3. Implement the Pittsburgh-road function distance-to-suggested-dead-end.


Last update: Friday, January 14th, 2005
mflatt@cs.utah.edu