9.4 (Spanning Trees) Flashcards

1
Q

What is a subgraph that has the same connectivity as the graph and is a tree?

A

spanning tree

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

A graph has a spanning tree only if?

A

it has a single connected component

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

What are the two classic algorithms to compute spanning trees?

A

edge-centric and vertex-centric

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

Which algorithm sorts the edges by weight and processes each edge in order?

A

edge-centric algorithm

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

Which algorithm has each vertex pick an edge connecting it to another vertex until they belong to a single connected component?

A

vertex-centric algorithm

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

What is a graph with measures associated with the edges?

A

weighted graphs

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

What is a spanning tree that has the least total weight?

A

minimum spanning tree (MST)

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

True or false; if all the weights are the same, every spanning tree is a minimum spanning tree.

A

true

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

What is the edge-centric algorithm for minimum spanning trees?

A

Kruskal’s algorithm

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

What is the vertex-centric algorithm for minimum spanning trees?

A

Prim’s algorithm

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