Questions tagged [eulerian-path]

This tag is for questions relating to Eulerian paths in graphs. An "Eulerian path" or "Eulerian trail" in a graph is a walk that uses each edge of the graph exactly once. An Eulerian path is "closed" if it starts and ends at the same vertex.

In graph theory, the study of an Eulerian trail (or Eulerian path) came up in their relation by Leonhard Euler while solving the famous Seven Bridges of Königsberg problem in 1736.

An Eulerian path is a trail in a graph which visits every edge exactly once.

For the existence of Eulerian trails it is necessary that zero or two vertices have an odd degree. If there are no vertices of odd degree, all Eulerian trails are circuits. If there are exactly two vertices of odd degree, all Eulerian trails start at one of them and end at the other. A graph that has an Eulerian trail but not an Eulerian circuit is called semi-Eulerian.

Example:

enter image description here

  • The Euler Circuit (when the starting vertex of the Euler path is also connected with the ending vertex of that path) is a special type of Euler path.

Applications: Eulerian trails are used in bioinformatics to reconstruct the DNA sequence from its fragments. They are also used in CMOS circuit design to find an optimal logic gate ordering. There are some algorithms for processing trees that rely on an Euler tour of the tree (where each edge is treated as a pair of arcs). The Gray code used for error detection and correction can be constructed as an Eulerian trail of de Bruijn graphs.

Reference:

https://en.wikipedia.org/wiki/Eulerian_path

https://brilliant.org/wiki/eulerian-path/

286 questions
2
votes
1 answer

Minimum number of Euler paths

Now we know that if number of odd degree vertices in a graph is $0$ or $2$ it an Euler path and if its higher it doesn't. I want to know if its indeed higher, in how many Euler paths can you cover the whole graph? You can start and end at any vertex…
aravind
  • 21
1
vote
1 answer

Fleury Algorithm For Eulerian Path proof

I am trying to understand the proof of the Fleury algorithm for finding eulerian path, but to no avail. Okay, we assume the graph is Eulerian and then give the exact procedure on how to continue, but the first thing I don't understand is what…
darxsys
  • 311
1
vote
1 answer

Eularian graph, prooving certain properties.

An Eulerian graph G has 3 vertices and 5 edges. Show that if one vertex has degree 4, then another must have degree 2.
Brian
  • 11
0
votes
1 answer

Does there exist an Euler Path in this situation?

Let n be an integer with n ≥ 2. Consider a building in the shape of a cube. The inside of the building is divided up into n^3 rooms, all of them in the shape of a cube and all of them having the same size. Between any two adjacent rooms, there is a…
0
votes
0 answers

Eulerian Paths Question

I have been asked to state whether the below graph is Eulerian or Hamiltonian, and to give an appropriate trail/cycle. I believe it is Eulerian as each vertex, (Indicated by the red dots) have an even degree of edges. However I am not able to find…
0
votes
0 answers

Determine whether there is Euler circuit

The exercise: Asks for both of Eulerian circuit and path circuit. Conditions: 1)-Should stop at the same point that started from. 2)- Don't repeat edges. 3)-Should cross all edges After long time of focusing I found the Eulerian path, I…
User
  • 13
0
votes
1 answer

Euler Circuits and Paths on 3D Surfaces

I am new to graph theory and am confused as to whether I am researching in the right area. I am working on a project which requires creating closed contours on the surface of a cylinder, and this is an edge case. Generally my closed contours are…
0
votes
1 answer

How many different Eulerian circuits are there in this graph?

I'm trying to figure out how many different Eulerian circuits there are in the following graph. I have found one Eulerian circuit so far (see photo below, start- and end point to the far left). How would I go about to find more and is there a…
Xelak
  • 27