# Question 5# This question introduces the idea of using a traveling salesman algo- rithm to search for a Hamilton circui... Question 5# This question introduces the idea of using a traveling salesman algo- rithm to search for a Hamilton circuit in any simple graph. (a) Find a Hamilton circuit for the graph G in dicated by the diagram at right. Do this by eye', without using any particular algo- rithm. Answer by drawing heavy lines over each edge on your circuit. There are many correct answers. (b) TSP algorithms usually work on a complete V(G)V(G) weighted graph. One wayEG)-[lu.v : u, to transform G into such wtfu,)) wt u,vlength of shortest path in G from u to a graph G is as shown. ) How many weight-1 edges has G? (ii) How many weight-3 edges has G"? (iii) How many edges has G* in total? (c) Suppose the Nearest Neighbour algorithm were applied to G. How could you tell from the reported tour weight whether a Hamilton circuit of G had been foundi? (d) When applying Nearest Neighbour to G, there will be situations where the current vertex has more than one nearest neighbour. We could then just pick one of them at random, but for grading purposes it is better to have a rule. Please use this: If the current vertex u has two or more equally close' available neighbouring vertices choose the one with the lowest compass bearing relative to u. The compass bearing of a vertex v relative to u is the angle made by the the line u to line uy where y is an imaginary point directly above u, and angles are measured in a clockwise direction. For example vertex of G has bearing 150 relative to vertex 9.) Starting at the vertex determined by the last digit of your ANU ID, apply the Nearest Neighbour algorithm to G. Draw your circuit on the enlarged diagram below. If necessary, used curved lines for virtual edges ie. edges of G that are not edges of G) to avoid these edges passing through other vertices. Tour weight-    ##### Add Answer of: Question 5# This question introduces the idea of using a traveling salesman algo- rithm to search for a Hamilton circui...
More Homework Help Questions Additional questions in this topic.