Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 5+ To see how bad the (greedy) Nearest Neighbour algorithm can be consider this deliberately pathological example: The complete graph Ki0 has vertices labelled

image text in transcribed

Question 5+ To see how bad the (greedy) Nearest Neighbour algorithm can be consider this deliberately pathological example: The complete graph Ki0 has vertices labelled 1,.,10 and each edge (a, b) is given weight (a -b)2. Do not attempt to draw this graph (a) Starting at the vertex determined by the last digit of your ANU ID (use vertex 10 if that digit is 0), apply the Nearest Neighbour algorithm to find a Hamilton circuit of supposedly low total weight. Give your answer as a list of vertices, and calculate the total weight (b) By avoiding large weights such as (10 )2, find (without the help of any algorithm) a Hamilton circuit of much lower total weight. Again give your answer as a list of vertices, and calculate the total weight (c) At the opposite extreme, find a Hamilton circuit of very high total weight, say more than 300 ?1:41 : Question 5+ To see how bad the (greedy) Nearest Neighbour algorithm can be consider this deliberately pathological example: The complete graph Ki0 has vertices labelled 1,.,10 and each edge (a, b) is given weight (a -b)2. Do not attempt to draw this graph (a) Starting at the vertex determined by the last digit of your ANU ID (use vertex 10 if that digit is 0), apply the Nearest Neighbour algorithm to find a Hamilton circuit of supposedly low total weight. Give your answer as a list of vertices, and calculate the total weight (b) By avoiding large weights such as (10 )2, find (without the help of any algorithm) a Hamilton circuit of much lower total weight. Again give your answer as a list of vertices, and calculate the total weight (c) At the opposite extreme, find a Hamilton circuit of very high total weight, say more than 300 ?1:41

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2017 For Windows Web And Database Applications

Authors: Corinne Hoisington

1st Edition

1337102113, 978-1337102117

More Books

Students also viewed these Databases questions

Question

Do you strive to create a diverse workforce?

Answered: 1 week ago

Question

3 How supply and demand together determine market equilibrium.

Answered: 1 week ago

Question

1 What demand is and what affects it.

Answered: 1 week ago