Homework Help Question & Answers

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 a

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-
0 0
Next > < Previous
ReportAnswer #1

de caked oy me sio gnam at nigne men boma men Wnsnow to Sroat ve on bauonds A ard men contenue and men goon eb widD So we ve A ond men TenFan men A ond meng-tesn c and 19-men s toDnen comol be1とmeest ex.kend Lou and mene be isited mee

Add Homework Help Answer
Add Answer of:
Question 5# This question introduces the idea of using a traveling salesman algo- rithm to search for a Hamilton circui...
Your Answer: Your Name: What's your source?
Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
More Homework Help Questions Additional questions in this topic.
Need Online Homework Help?
Ask a Question
Get FREE EXPERT Answers
WITHIN MINUTES
Related Questions