Chapter 4 Route Inspection Flashcards

1
Q

What are the 3 types of graphs that all graphs can be organised into?

A

Eulerian, semi Eulerian or neither

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

What is a Eulerian graph or network?

A

An Eulerian graph or network is one which contains a trail that includes every edge and starts and finishes at the same vertex

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

What is an Eulerian graph called?

A

Eulerian circuit

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

What is a quick way to check that a graph is Eulerian?

A

If all of the vertices have even degrees and the graph is connected then it is an Eulerian graph

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

What is a semi Eulerian graph or network?

A

A semi Eulerian graph or network is one which contains a trail that includes every edge but starts and finishes at different vertices

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

What is a quick way to check if a graph is semi Eulerian?

What do you know about the graph?

A

Any connected graph with exactly 2 odd vertices is semi Eulerian

Where the trail will start and end at those 2 odd vertices

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

What do Eulerian and semi Eulerian graphs both include?

A

Both include a trail that includes every edge

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

What are Eulerian circuits sometimes called?

A

Eulerian cycles

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

Why may a Eulerian cycle as a name be misleading?

A

Eulerian cycles may not be a true cycle as some nodes may be visited more than once

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

What is a trail?

A

A trail is a walk in which no edge is visited more than once

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

What is a cycle?

A

A cycle is a walk in which the end vertex is the same as the start vertex and no other vertex is visited more than once

(A path that starts and ends in the same place)

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

What is a good way to check that a graph is eulerian or semi eulerian?

A

You can draw a semi Eulerian and an Eulerian graph without taking your pen off the page and without repeating any arcs

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

What is a quick way to tell if a graph is neither Eulerian non semi Eulerian?

A

If it is not connected or if it doesn’t have exactly 2 odd vertices it is neither

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

What is an easy way to draw a non Eulerian and non semi Eulerian graph/

A

You can just draw 2 vertices which aren’t connected
(No arcs just 2 nodes)

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

What are the 2 different names for the same route inspection algorithm?

A

The route inspection algorithm
Chinese postman algorithm

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

What can the Chinese postman algorithm be used for?

A

To find the shortest route in a network that transverses every arc at least once and returns to its starting point

17
Q

If all the vertices are even (is an Eulerian graph) and you want to start and end in the same place what will be the length of the shortest route?

A

The shortest route will be equal to the total weight of the network

18
Q

If you want to start and end in the same place what do you know you will have to do if you want to transverse all of the edges if you have a semi Eulerian graph?

A

You will have to transverse some length more than once

19
Q

If a network has exactly 2 odd vertices (semi Eulerian network) what will the length of the shortest path starting and ending at the same place and transversing all the edges?

A

Total weight of the network + the length of the shortest path between the 2 odd vertices

20
Q

What is a quick way to show that you know which degrees are odd and even in the exam?

A

In an exam you can label each point in a graph like this picture to show the value of the degrees of each vertex

21
Q

What is something that some people do to make things simpler when applying the Chinese postman algorithm?

A

They will draw in an extra arc from the 2 odd vertices to show the shortest route between them

22
Q

Which algorithm can use use if there are more than 2 odd vertices?

A

Route inspection algorithm / Chinese postman algorithm

23
Q

What is the Chinese postman algorithm?

A
24
Q

What is the general method for questions involving the route inspection algorithm?

A

When doing this sort of question the first step is to label and state all the odd vertices
Then state all the possible pairings with a sum representing their shortest route
Then pick the smallest number and then add the weight of the entire network onto that number for the answer

25
Q

If asked to do a question in where you need to find an optimum route in a network with more than 2 odd vertices which can finish in 2 different places what do you need to think about?

A

This is a semi Eulerian problem
To minimise travel time the route will start and end at odd vertices
You need to find which 2 odd vertices are closest and you will transverse the arcs between them again to minimise wasted travel time