09.07.2015 Views

slides - Computer Science - University of San Francisco

slides - Computer Science - University of San Francisco

slides - Computer Science - University of San Francisco

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

17-71: Floyd’s AlgorithmShortest k-path from v to u either goes throughvertex k, or it does notIf not:Shortest k-path = shortest (k − 1)-pathIf so:Shortest k-path = shortest k − 1 path from v tok, followed by the shortest k − 1 path from k tow

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

Saved successfully!

Ooh no, something went wrong!