1 ;; The first three lines of this file were inserted by DrScheme. They record metadata
2 ;; about the language level of this file in a form that our tools can easily process.
3 #reader(lib "" "lang")((modname |30.2|) (read-case-sensitive #t) (teachpacks ((lib "" "teachpack" "htdp") (lib "" "teachpack" "htdp") (lib "" "teachpack" "htdp"))) (htdp-settings #(#t constructor repeating-decimal #t #t none #f ((lib "" "teachpack" "htdp") (lib "" "teachpack" "htdp") (lib "" "teachpack" "htdp")))))
4 A node is a symbol.
6 A pair is a list
7 (cons n1 (cons n2)), ie, (list n1 n2)
8 where n1 and n2 are symbols representing nodes.
10 A simple-graph is a (listof pairs).
12 route-exists? : node node sg (listof nodes) -> boolean