D1, C4 - Route Inspection Flashcards

1
Q

When is a connected graph Eulerian

A

All nodes / vertices have EVEN order / degree / valency

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

What type of graphs could be Eulerian

A

Connected graphs

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

When is a connected graph semi-Eulerian

A

Exactly two nodes / vertices have ODD order / degree / valency

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

What is different for trails on Eulerian and semi-Eulerian graphs

A

Eulerian- it is possible to have a trail that includes every edge and starts and finishes at the same vertex (Eulerian circuit)
Semi-Eulerian- a trail will include every edge, but will start and finish at different vertices

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

What is the method for finding a trail on a semi-Eulerian graph (start and finish point)

A

Start and finish at the odd nodes

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

Do all connected graphs have to be Eulerian or semi-Eulerian

A

YES?? - unsure

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

What is Euler’s Handshaking Lemma

A

sum of valencies = 2 * number of edges

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

Describe a graph that is neither Eulerian nor Semi-Eulerian

A

A graph with more than 2 odd valencies

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

What does the route inspection algorithm tell us

A

The shortest route that traverses every arc at least once and returns to its starting vertex

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

What is the shortest path (using the route inspection algorithm) for a Eulerian graph

A

Shortest path length = total weight of the network

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

What is the shortest path (using the route inspection algorithm) for a Semi-Eulerian graph

A

Shortest path length = total weight of the network + length of shortest path between odd vertices

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

How do you find the shortest path (using the route inspection algorithm) for a graph which is neither Eulerian nor Semi-Eulerian

A

1) Identify all odd vertices
2) List all pairings of these vertices
3) Select pairing with the lowest weight between vertices
4) Add repeat arcs between these pairing

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

A network with 4 odd valencies originally has the route inspection algorithm applied. To save money it is decided that the route no longer must start and end at the same place. How do you decide which 2 vertices to now start and end at

A

Problem become Semi-Eulerian
Pick the 2 odd vertices that have the smallest weight between them and add that weight as another arc

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

What happens to questions for route inspection where there are over 4 odd nodes and why

A

There will be some information that restricts the number of pairings e.g. start and finish at different places
Because 6 odd nodes –> 15 pairings
8 odd nodes –> 105 pairings

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

When doing route inspection on a graph with more than 4 odd nodes, what does it mean if you can start and finish at different places

A

The start and finish can be kept as odd and can be rejected from the pairings

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