line art

Performance and Test, Spring 2007 : Episode 4.1

line art
Spring 2007 Description Schedule Resources
line art

Lecture: Wednesday, February 21, 13:30-15:30, room 2A14

Subject: Graphs, Graph Traversals

Note: We are reading the second volume of the book (part 5) from now on.

Text : RS 17.0 pp. 3—7, RS 17.2 (read until you can understand Program 17.2 p. 19 and Program 17.3 p.20. The rest can be skipped). RS 17.3—17.4 pp. 25—35, Table 17.1 p. 40 (skim the section around if you need to interpret the table), RS 18.0—18.3 pp.81—97 (in 18.3 focus on the properties). Study 18.5 briefly to realize what kind of applications DFS has. RS 18.7 pp. 121—130. [50pp, 5h]

Prerequisites: sorting, asymptotic complexity, basic data structures (lists, arrays), hash tables, basic graph theory (read RS 17.1 if you lack a bit of graph theory).

Comment: There are three main units in this lecture: graph representation (adjacency matrix vs adjacency list), depth first graph traversals (DFS) and breadth first graph traversals. Try to keep track of these important concepts among the multitude of technicalities and diversions in the book.

Reading carefully this week, will help you directly in making a better project!



Exercises, Friday, Mar 2, 13:00—15:00 (!!), room 2A14

Following exercises are easy and good for initial self-study (not exam level):

Some of the following exercises will be discussed at the exercise session:

The solutions to one of the following exercises should be handed in to the course pigeon hole, before Wednesday, March 7, 13:30 [expected time 2h]