November 2010
Intermediate to advanced
504 pages
12h 45m
English
The map of Congestion City will be an undirected graph with data associated with each node stored in the variable *congestion-city-nodes*. The possible data at each node will include the presence of the Wumpus, a Glowworm team, and various danger signs.
A set of edges stored in *congestion-city-edges* will connect the nodes, and data linked to these edges will alert us to the presence of any police roadblocks. We declare these and other global variables at the top of our program using defparameter:
(load "graph-util") (defparameter *congestion-city-nodes* nil) (defparameter *congestion-city-edges* nil) (defparameter ...
Read now
Unlock full access