MAT344H1 Lecture Notes - Lecture 10: Hamiltonian Path

51 views2 pages
2 Nov 2018
School
Department
Course
Professor

Document Summary

Start with a single vertex then grow your circuit one vertex at a time. To get from find the vertex w nearest to. Say w is the nearest in cost to , specifically to , then we put w in front of in the new. Proof: draw an optimal h. c. , let"s call it h. If (cost of the edges between i and j from two directions are equal) and are satisfied , then this algorithm is less than or equal to 2 times the cheapest hamilton. Suppose (e is the most expensive edge in h) Every time we add vertex to we remove an edge from . Do this in such a way that the cost of edge e is 2 times the increase in cost form to. Note that there is an unique path in from to the next vertex in e= a-b, the 1st edge in the unique path from to new vertex c along.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents