Skip to content
ml-recall

#constructive-heuristic

1 question from Search & Planning

Timed test

1 question · 1 min · score and explanations at the end

Take a test
Q 1 / 1Score 0 / 0

Question 1: Short answer

mediumAI-checkedSearch & Planning

Six cities have the symmetric distances below. The nearest-neighbour heuristic starts at A, repeatedly goes to the closest unvisited city, and finally returns to A. What is the length of the tour it builds?

B C D E F
A 10 20 30 40 50
B 31 21 51 41
C 12 59 100
D 5 8
E 69

a whole number