other Flashcards
1
Q
minimum spanning tree, upper bound:
A
find the mst
double the length
find shortcuts using the table of least distances
2
Q
minimum spanning tree, lower bound:
A
for each vertex
find the residual mst (mst of what’s left)
add the distance of the two shortest connectors to that vertex
take the greatest of those totals
if that’s a hamiltonian cycle it’s optimal
3
Q
nearest neighbour:
A
for each vertex
go to the nearest unvisited vertex, repeat until none left, then add the one taking back to start
choose the smallest of those totals