Unit 6 - The Konigsberg Bridge problem Flashcards

1
Q

Walk

A

Is a sequence of adiacent nodes and their corresponding edges.

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

When a walk is closed?

A

A walk is closed when the walk return to the initial node.

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

Length of the walk

A

The number of edges in the walk.

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

Connected graph

A

There is a path from any point to any other point in the graph.

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

A graph with only one node and any number of loops is connected?

A

yes

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

Directed walk in a diagraph

A

Is a walk in with all arows point in the same direction.

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

Strongly conneccted diagraph

A

If for every two nodes u and v, there is a directed path from u to v and from v to u.

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

Eulerian trail

A

The walk does not contain any edge twice.
The walk contains all edges of the graph.

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

Eulerian circuit

A

The walk does not contain any edge twice.
The walk contains all edges of the graph.
The beginning and the end of the walk are the same.

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

Eulerian graph

A

A graph containing an eulerian circuit.

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

In an Eulerian graph, the degree of each node is even or odd?

A

Even

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

When a connected graph is Eulerian?

A

A connected graph is Eulerian if and only if the degree of each node is even.

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

When a diagraph is eulerian?

A

If it’s strongly connected and, for each node, it is true that the input degree is equal to the output degree.

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

What is Hierholzer’s algorithm used for? Explain the procedure of this algorithm.

A

Hierholzer’s algorithm is used to determine Eulerian cycles in an undirected graph. Prerequisites: Connected graph that has only nodes with even degree.
1. Choose a node and construct from it a subcycle K that does not pass through any edge twice.
2. If K is an Eulerian cycle, then break off. Otherwise, continue to step 3.
3. Neglect all edges of K.
4. At the first vertex of K, let a second subcycle K2 arise which contains no edge of K and no edge of the original graph twice.
5. Insert the second circle K2 into K.
6. Continue with step 2.

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

Explain the postman problem. Give two concrete examples from practice.

A

Walk all streets with minimal effort and return to starting point; examples include delivery services, street cleaning, city tour.

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

Explain in simplified terms the approach to the postman problem.

A

The procedure can be summarized as follows:
1. For each pair of nodes with an odd degree, the shortest connecting path is constructed
by applying Dijkstra’s algorithm.
2. The edges of this path are doubled, so the graph no longer contains any nodes with odd
degree.
3. Since the newly created graph is Eulerian, Hierholzer’s algorithm can be used to find a
Eulerian circuit within it.