20_Shortest_path.pptx

# 11 7 9 8 1 5 5 5 9 7 2 14 4 8 8 10 6 5 6 3 19 10 7 12

• 148

This preview shows pages 141–146. Sign up to view the full content.

0 11 7 9 8 1 5 0 5 5 9 0 7 2 14 0 4 8 8 0 10 6 5 6 0 3 19 10 7 12 0

This preview has intentionally blurred sections. Sign up to view the full version.

Example At step 6, we find: A path (1, 6, 2) of length 6 A path (1, 6, 4) of length 7 A path (1, 6, 7) of length 4 A path (3, 6, 2) of length 7 A path (3, 6, 7) of length 5 A path (7, 3, 6, 2) of length 17 T T T T T T F F T F F T F T T F T T F F F F F F F T T T T T F T F T F T F T T T F T 6 3 6 5 6 6 4 7 6 4 6 6 2 3 4 6 7 2 4 7 3 3 4 3 0 6 7 7 8 1 4 0 5 5 7 0 7 2 5 0 4 8 8 0 10 6 5 6 0 3 17 10 7 12 0
Example At step 7, we find: A path (2, 7, 3) of length 15 A path (2, 7, 6) of length 17 A path (6, 7, 3) of length 13 T T T T T T F F T F F T F T T F T T F F F F F F F T T T T T F T F T F T F T T T F T 6 3 6 5 6 6 4 7 6 4 6 6 2 3 4 6 7 2 4 7 3 3 4 3 0 6 7 7 8 1 4 0 5 5 7 0 7 2 5 0 4 8 8 0 10 6 5 6 0 3 17 10 7 12 0

This preview has intentionally blurred sections. Sign up to view the full version.

Example Finally, at step 7, we find: A path (2, 7, 3) of length 15 A path (2, 7, 6) of length 17 A path (6, 7, 3) of length 13 T T T T T T F T T F T T F T T F T T F F F F F F F T T T T T F T T T F T F T T T F T 6 3 6 5 6 6 7 4 7 7 6 4 6 6 2 3 4 6 7 2 7 4 7 3 3 4 3 0 6 7 7 8 1 4 0 15 5 17 5 7 0 7 2 5 0 4 8 8 0 10 6 5 13 6 0 3 17 10 7 12 0
Example Note that: – From v 1 we can go anywhere – From v 5 we can go anywhere but v 1 We go between any of the vertices in the set { v 2 , v 3 , v 6 , v 7 } We can’t go anywhere from v 4 T T T T T T F T T F T T F T T F T T F F F F F F F T T T T T F T T T F T F T T T F T

This preview has intentionally blurred sections. Sign up to view the full version.

This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern