Minimum Spanning Tree Flashcards

1
Q

What is kruskals algorithm?

A

Choose an unused edge with the lowest value
Add this edge to your tree
If there are n-1 edges in your tree, stop. If not go back to step one

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

Prims algorithm

A

From your start vertex , draw the lowest valued edge to start your tree
From any vertex on your tree, add the edge with the lowest value
If there are n-1 edges in your tree, stop

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

In an algorithm what can’t you do

A

Create a cycle

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

What is the matrix form of prims algorithm

A

Select the first node
Cross out the row and number the column for that node
Find the minimum undeleted weight in numbered columns. Circle the value. The node for this row is the next chosen node
Repeat 2 and 3 until all nodes are chosen

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

Isomorphic =

A

Graphs that show the same information

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

Connected graphs =

A

Be able to pick the whole thing up and take it anywhere without a vertex being left behind

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

Simple graph =

A

No multiple edges or loops

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

What is the order if every vertex on a complete graph

A

N-1

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

Total number of degrees =

A

2 x number of edges

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

Subdivision =

A

If you add extra vertices along the edges of a graph the result is a subdivision

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

Complete graph Kn has how many edges

A

N(n-1)/2

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

Bipartite graph =

A

Joining to distinct sets of vertices
But they can’t connect vertically

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

How to work out the edges on a complete bipartite graph Knm

A

N x m

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

What does order of a vertex mean

A

How many edges in or out of a vertex

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

What is ulers formula

A

V + F = 2 + E

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

What does the face count as