18.04.2013 Views

The.Algorithm.Design.Manual.Springer-Verlag.1998

The.Algorithm.Design.Manual.Springer-Verlag.1998

The.Algorithm.Design.Manual.Springer-Verlag.1998

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Lecture 14 - data structures for graphs<br />

Describe an algorithm for finding the optimal bitonic tour. You may assume that no two points<br />

have the same x-coordinate. (Hint: scan left to right, maintaining optimal possibilities for the two parts<br />

of the tour.)<br />

Make sure you understand what a bitonic tour is, or else it is hopeless.<br />

First of all, play with the problem. Why isn't it trivial?<br />

Listen To Part 14-3<br />

Am I using all the information?<br />

Why will they let us assume that no two x-coordinates are the same? What does the hint mean? What<br />

happens if I scan from left to right?<br />

If we scan from left to right, we get an open tour which uses all points to the left of our scan line.<br />

file:///E|/LEC/LECTUR16/NODE14.HTM (2 of 12) [19/1/2003 1:35:05]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!