Algorithms On Networks Flashcards

0
Q

Be able to describe Prim’s algorithm.

A

See notes of p45 of D1.

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

Be able to describe Kruskal’s algorithm.

A

See notes/p41 D1

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

Prove that there must always be an even number of verticies with odd valency in every graph.

A

Each arc has two ends and so will contribute two to the sum of the valencies of the whole graph.

The sum of the valencies = 2 x number of arcs
The sum of the valencies is even
Any odd numbers must occur in pairs
There is an even number of odd valencies

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

Be able to describe the route inspection algorithm.

A

Identify any valencies with odd valency.
Consider all possible complete pairings of these verticies.
Select the complete pairing that has the least sum.
Add a repeat of the arcs indicated by this pairing to the network.

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