Trees Flashcards

1
Q

What is a forest?

A

An acyclic graph (no cycles)

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

What is a tree Tn?

A

A connected acyclic graph

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

What are the end points of a tree?

A

Leaves and vertices with the degrees = one

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

What is a rooted tree?

A

Tree with single vertex r distinguished as the root. Each split creates children, where the vertex split from is called the parent

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

Why can vertices in a rooted tree not have more than one parent?

A

Implication of a cycle within the graph.

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

What is a directed tree?

A

Assymetric graph whose underlying graph is a tree

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

What is a directed rooted tree>?

A

A directed tree with vertex r designated as root such that id(r) = 0 and id(v) = 1 for all other vertices v

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

What is an anti-arborecence?

A

Directed tree with a single sink vertex, such that all other arcs point towards it

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

What is a spanning tree?

A

A spanning subgraph T of G is a tree that is a subset of G, containing all vertices of G, that is connected and acyclic

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

What is a minimum spanning tree?

A

A spanning tree of G that has a minimum total weight

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

Why is it important to use a minimum weight spanning tree and not a different one?

A

If not spanning, then missing vertices

If not tree, then not acyclic or not connected

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

Which algorithms are used to find minimum spanning trees?

A

Kruskal’s algorithm

Prim’s algorithm

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

What is the theorem of unique minimum spanning trees?

A

If all edges in weighted connected graph G have distinct weights, then G has unique minimum spanning tree T

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