CS Algorithm Homework question
Consider the following heuristic for building an approximate traveling-salesman tour, assuming
that the edge weights satisfy the triangle inequality. Begin with a trivial cycle consisting of a
singe arbitrarily chosen vertex. At each step, identify the vertex u that is not yet on the cycle
but whose distance to any vertex on the cycle is minimum (that is, if C is the current cycle,
for every vertex w 62 C compute the number d(w) = minv2C dist(w, v) and choose the vertex u
for which d(u) is minimum). Suppose that the vertex on the cycle that is nearest to u is vertex
v. Extend the cycle to include u by inserting u just after v. Repeat until all vertices are on the
cycle. Prove that this heuristic returns a tour whose total cost is not more than twice the cost
of an optimal tour.
13 years ago
10
- 1) Describe (in detail) the three forms of underwriting.2) You want to set up an education trust for a relative starting in...
- Bentley Biscuits
- Physics HW
- principles of microeconomics help!!!
- Whats the adjective phrase(s) in the sentence a cape is a point of land
- University of Phoenix Material
- 2 hr
- The following unadjusted trial balance is for Adams Construction Co. as of the end of its 2011 fiscal year. The June 30, 2010, credit balance of the owner’s capital account was $52,660, and the owner invested $25,000 cash in the company during the 2011 fi
- please help!
- China Had been searching for a way to escape exploitation and political dominatation by foreign powers since the 19th century....