Eulerian Graphs and RIP Flashcards

1
Q

What is a Eulerian trail?

A

Trail that visits each edge exactly once

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

What is a Eulerian circuit?

A

Eulerian trail that begins and ends at same vertex

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

What is the difference between a path and a trail?

A

A path is a walk with no repeating vertices
A trail is a walk with no repeating edges

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

When is a graph Eulerian?

A

If and only if Degree of each vertex even
If graph contains Eulerian circuit

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

When does a graph posess a eulerian trail?

A

Iff graph has exactly two vertices of odd degree. The trail must begin at once and end at other.

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

What is Fleury’s algorithm used for and under which conditions?

A

Used to find Eulerian Trail to other odd vertex, given there are 2 odd neighboured vertices.

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

What are the steps of Fleury’s algorithm?

A
  1. Ensure graph has 0 or 2 odd v
  2. If 0 odd, start anywhere. If 2, start path at any.
  3. Follow edges one at a time, choosing bridge (edge which will turn destination vertex into an isolate if removed) iff only option.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are necessary and sufficient conditions

A

Consider events A, B
B necessary for A iff A guaranteed false if B false
B sufficient for A iff A true if B true

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

How do we prove that even degrees implies a eulerian graph?

A

In notes.

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

When is a strongly connected digraph Eulerian?

A

Iff indegree and out degree of each vertex is equal
Contains Eulerian circuit

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

When does a graph contain a Eulerian trail?

A

iff D contains two vertices u, v such that:
- od(u) = id(u) + 1
- id(v) = od(u) + 1

and all other vertices have equal in and out degrees. Trail starts at u and ends at v

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

How can we calculate the amount of pairings for k pairs of vertices?

A

Since there is always an even number of odd vertices, there are n = 2k odd vertices.
(n-1)(n-3)(n-5)…(1)

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

What is the RIP and what are its steps?

A

Problem: Given connected weighted graph, find closed walk of minimum weight traversing each edge of G at least once

Steps:
1. Construct Eulerian graph by adding edges until all vertices have even degree, where added edgers are parallel to existing ones and sum of total weight is minimised.
2. Find eulerian circuit using Fleury’s algorithm

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