other Flashcards

1
Q

minimum spanning tree, upper bound:

A

find the mst
double the length
find shortcuts using the table of least distances

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly