Everything2
Near Matches
Ignore Exact
Full Text
Everything2

Euler cycle

created by elluzion

(idea) by elluzion (2 wk) (print)   ?   1 C! I like it! Thu Dec 20 2001 at 21:13:31

Euler cycle:

A path through a given graph which traverses each edge only once and ends up on the starting point. Often confused with Hamiltonian cycle or Hamiltonian circuit.

Euler's Problem

(Pronounced "Oiler's Problem"), also see Euler tour

Simple question: Is there a way through a graph which traverses each edge only once?

The following illustration is commonly associated with this concept*.

+---------------------------------+
|                                 |
|              A                  |
|*****\**********/*****|**********|
|      \        /      |          |
|       \      /       |          |
|        \ * */      **|*         |
|        *     *    *    *        |
|       *       *  *      *       |
|       *   B   *--*  D   *       |
|       *      *   *      *       |
|       *    *      *    *        |
|        /**\        */*          |
|       /    \       /            |
|******/******\*****/*************|
|             C                   |
+---------------------------------+
This is a map (use your imagination) of a river. Points A and C are riverbanks. B and D are islands. The seven lines connecting the islands and river banks are bridges, and are to be thought of as edges. So the question is, is there a way to tour this area while crossing each bridge (traversing each edge) only once? One way to solve this is to begin at each point and try all possible combinations until every possiblity has been tried (an O(n!) problem). This could take a long time though. Euler proposed that a Eulerian Path existed through a given graph if and only if the following two criteria were met:
  • It must be possible to go from any vertex (point) to any other vertex by following the edges. Which basically means that there may be no non-connected points in the graph.
  • Every vertex must have an even number of edges connected to it, with no more than 2 exceptions. The 2 exceptions being the starting and end points.

Now look at our graph.

Each point is connected, so the first criteria has been met.

However, Riverbank (point) A has 3 bridges (3 edges), which is an odd number. Riverbank (point) C has 3 bridges (3 edges) which is an odd number, and island (point) D has 3 bridges (3 edges) which is an odd number. This makes 3 exceptions to the second rule, which allows a maximum of 2 exceptions, and thus this graph has no Eulerian path.


*Update-AT tells me: "...the problem comes from an actual set of bridges -- namely those in the Prussian town of Königsberg (now Kaliningrad, Russia)"

printable version
chaos

Deathmatch: e vs pi Königsberg Hamiltonian cycle Riemann mapping theorem
Hamiltonian circuit Autechre Gimbal Lock The traveling salesman problem
Kaliningrad subliminal set theory notation Euler
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Just another sprinkling of indeterminacy
Superstring Theory
Nathaniel Hawthorne
Julian of Norwich
Song for Leaving
Zen and the Art of Motorcycle Maintenance
Beowulf on Everything
Professional wrestling
The Idiot's Guide to the Transmutation of Morals
True Native American Tribe Names
Welcome to the First Annual Magnificent Maryland Renaissance Oktoberfest E2 Throwdown!
The Beatles
Open marriage
Murders in Ciudad Juarez
New Writeups
Wuukiee
Highly ornamental cultivars of brambles still have as many thorns as their wild counterparts(idea)
TheDeadGuy
Editor Log: May 2008(log)
everyday j.Lo
pray do not molest them(thing)
ammie
Bands Who Take Their Names from Eighteenth-century English Poetry and Prose(idea)
shaogo
Under My Thumb(review)
ammie
Rock On(person)
The Custodian
The Dresden Files(thing)
Ouzo
PETA becomes you, a proposed future(fiction)
Ereneta
Stone Soup, Part Two(fiction)
jjen
Sorrier than I ever thought I would be(personal)
locke baron
Moskva class antisubmarine cruiser(thing)
Wuukiee
May 15, 2008(idea)
locke baron
Kuznetsov class aircraft carrier(thing)
Adaptive Child
Annie's garden salsa(recipe)
Simulacron3
Zig-Zag(thing)
E2 is a by-product of the existence of The Everything Development Company