SlideShare a Scribd company logo
2
Most read
5
Most read
7
Most read
Graph Theory and Management
Science: Fleury’s Algorithm and
Eulerizing
Graph Theory and Management Science: Fleury’s Algorithm and Eulerizing, by Peggy Mitchell Beauregard, is licensed under a
Creative Commons Attribution-ShareAlike 4.0 International License.
Euler Path, Euler Circuit or non-Traversable?
Euler Path, Euler Circuit or non-Traversable?
Now, find a circuit starting at A.
ADEACEFCBA and AECABCFEDA
are two examples.
How do we find an Euler Path/Circuit, once
we know it must exist?
• In a small graph, easy peasy. In a more complicated graph, we
have an algorithm to follow…a set of directions, like a map.
• This can become pretty complicated, but we will look at some
easier graphs.
A bridge is the only edge connecting two separate sections of a
graph.
Bridge
Like with two odd vertices, we start at one end of the bridge, do our tracing, and
then cross the bridge and finish tracing.
This concept of “not burning your bridges” is the idea behind the algorithm we
will use for Euler Paths and Euler Circuits: Fleury’s Algorithm.
Fleury’s Algorithm, formalized
• Start at any vertex if finding an Euler circuit. If finding an Euler path,
start at one of the two vertices with odd degree.
• Choose any edge leaving your current vertex, making sure you aren’t
burning a bridge, or disconnecting the graph.
• Continue until you’re done.
Use Fleury’s algorithm to find an Euler Circuit, starting at vertex A.
Original graph. We
will choose edge AD
Next, from D we can
choose to visit edge DB,
DC or DE. But choosing
edge DC will disconnect
the graph (it is a
bridge.) so we will
choose DE.
From vertex E, there is
only one option and
the rest of the circuit
is determined.
Circuit: ADEBDCA
Fleury’s algorithm: Euler path or circuit? Where to
start?
A B C D
I J K L
E F G H
Fleury’s Algorithm
If we get this far in
our tracing and we
are at B, we should
not choose edge BC
because we will
burn a bridge!
A B C D
I J K L
E F G H
Eulerizing…
• Exhaustive
• Optimal
• Efficient
A snowplow must plow all of the streets in the
grid. What are we looking for?
Euler path, Euler circuit, non-traversable? Why?
Exhaustive, Optimal and
Efficient….
The graph is non-
traversable, but we still
need to plow the roads
in an optimal route that
covers all edges.
Eulerizing a graphs- adding duplicate edges to make odd
vertices even. This helps design an optimal, exhaustive
route for a graph.
Note: We can only duplicate edges, not create edges where there
wasn’t one before. Duplicating would mean plowing a road twice.
Adding an edge would be like plowing across someone’s front lawn!
Two other Eulerizations…Which is better?
How about a 3 X 3 grid?
Now that you have Eulerized, find an exhaustive, closed route for the snow
plow. How long is the route? (How many “roads”?) Label them as you go.
Is it possible to cross every bridge in Konigsberg exactly
twice and end where you started?
Explain, mathematically.
N
S
R
L
Complete Graphs, Kn
A complete graph, Kn is a graph on n vertices where every vertex
is connected to each other vertex by exactly one edge.
16
A D
B
C
A B
C
D
E
K4 K5
Is there an Euler Path, Circuit or neither on K4? K5? Draw K6 and K7 . Path or
circuit? Develop rules for Euler Paths and Circuits on Kn.
Sources:
College Mathematics for Everyday Life, Kathryn Kozak et al (Coconino Community College) CC-BY-
SA,
http://www.coconino.edu/resources/files/pdfs/academics/arts-and-
sciences/MAT142/Chapter_6_GraphTheory.pdf
Math in Society, David Lippman, CC-BY-SA, http://www.opentextbookstore.com/mathinsociety/

More Related Content

PPTX
Propositional logic
PPTX
Euler graph
PPTX
GATHERING DATA- GRADE 7-Q4-week 2.pptx
PDF
Inclusion exclusion principle
PPT
L4 one sided limits limits at infinity
PPTX
Planar graph
PPT
Graphing translations of trig functions
PPTX
437056180-Equivalences-of-the-statement-and-its-contrapositive-convers-ppt [R...
Propositional logic
Euler graph
GATHERING DATA- GRADE 7-Q4-week 2.pptx
Inclusion exclusion principle
L4 one sided limits limits at infinity
Planar graph
Graphing translations of trig functions
437056180-Equivalences-of-the-statement-and-its-contrapositive-convers-ppt [R...

What's hot (20)

PPTX
Principle of mathematical induction
PPTX
Parallel Lines Cut by a Transversal PPT 1-9-2018.pptx
PPTX
Proof by contradiction
PDF
Lesson 9: Basic Differentiation Rules
PPT
Relations and Functions
PPTX
Limit and continuity
PDF
Matrix ppt
PPTX
Indices & logarithm
PPTX
Parallel and perpendicular lines
PDF
Formal Logic - Lesson 8 - Predicates and Quantifiers
PPTX
Lesson 3 - matrix multiplication
PPT
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
PPT
factoring polynomials
PPTX
Writing the Equation of Line Given Two Points
PPTX
Limit of functions
PPTX
Independent and dependent events notes
PPTX
Gradient of a line
PPT
Functions
PDF
Proofs and disproofs
Principle of mathematical induction
Parallel Lines Cut by a Transversal PPT 1-9-2018.pptx
Proof by contradiction
Lesson 9: Basic Differentiation Rules
Relations and Functions
Limit and continuity
Matrix ppt
Indices & logarithm
Parallel and perpendicular lines
Formal Logic - Lesson 8 - Predicates and Quantifiers
Lesson 3 - matrix multiplication
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
factoring polynomials
Writing the Equation of Line Given Two Points
Limit of functions
Independent and dependent events notes
Gradient of a line
Functions
Proofs and disproofs
Ad

Similar to Graph-Theory-and-Management-Science-2-Fleurys-Algorithm-and-Eulerizing.pptx (20)

PPTX
Fleurys abas abbasli_
PDF
Euler trails and circuit
PPTX
FLEURY’S algorithm graph theory presentation.pptx
PPT
Graph theory
PPTX
Graphs_and_Euler_Circuit_20_Slides.pptxu
PDF
distructweek15graphstheoryupdated-160227143444.pdf
PPT
Distruct week 15 graphs theory (updated)
PPTX
Euler paths and circuits
PPTX
Bridge problem : Discrete Structure
PPTX
ch10.5.pptx
PPTX
Graphs_Euler_Circuit_Final_Presentation.pptx
PPT
Graph: Euler path and Euler circuit
PPTX
euler paths and circuit theorem.pptx
DOCX
Umap traversabilityin graph
PPTX
Koningsberg bridge problem
PPTX
Final-term Coverage.pptx. ..............
PPS
nossi ch 6
PPTX
koningsbergproblem-140215072342-phpapp02 (1).pptx
DOCX
Graphs and eularian circuit & path with c++ program
PDF
An Euler cycle in a directed graph is a cycle in which every edge is.pdf
Fleurys abas abbasli_
Euler trails and circuit
FLEURY’S algorithm graph theory presentation.pptx
Graph theory
Graphs_and_Euler_Circuit_20_Slides.pptxu
distructweek15graphstheoryupdated-160227143444.pdf
Distruct week 15 graphs theory (updated)
Euler paths and circuits
Bridge problem : Discrete Structure
ch10.5.pptx
Graphs_Euler_Circuit_Final_Presentation.pptx
Graph: Euler path and Euler circuit
euler paths and circuit theorem.pptx
Umap traversabilityin graph
Koningsberg bridge problem
Final-term Coverage.pptx. ..............
nossi ch 6
koningsbergproblem-140215072342-phpapp02 (1).pptx
Graphs and eularian circuit & path with c++ program
An Euler cycle in a directed graph is a cycle in which every edge is.pdf
Ad

Recently uploaded (20)

PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
master seminar digital applications in india
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Basic Mud Logging Guide for educational purpose
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Lesson notes of climatology university.
PDF
Classroom Observation Tools for Teachers
PPTX
Cell Structure & Organelles in detailed.
PDF
Pre independence Education in Inndia.pdf
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Computing-Curriculum for Schools in Ghana
PDF
01-Introduction-to-Information-Management.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
RMMM.pdf make it easy to upload and study
O5-L3 Freight Transport Ops (International) V1.pdf
Microbial disease of the cardiovascular and lymphatic systems
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Final Presentation General Medicine 03-08-2024.pptx
master seminar digital applications in india
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Anesthesia in Laparoscopic Surgery in India
Basic Mud Logging Guide for educational purpose
Supply Chain Operations Speaking Notes -ICLT Program
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Lesson notes of climatology university.
Classroom Observation Tools for Teachers
Cell Structure & Organelles in detailed.
Pre independence Education in Inndia.pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
O7-L3 Supply Chain Operations - ICLT Program
Computing-Curriculum for Schools in Ghana
01-Introduction-to-Information-Management.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
RMMM.pdf make it easy to upload and study

Graph-Theory-and-Management-Science-2-Fleurys-Algorithm-and-Eulerizing.pptx

  • 1. Graph Theory and Management Science: Fleury’s Algorithm and Eulerizing Graph Theory and Management Science: Fleury’s Algorithm and Eulerizing, by Peggy Mitchell Beauregard, is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
  • 2. Euler Path, Euler Circuit or non-Traversable?
  • 3. Euler Path, Euler Circuit or non-Traversable? Now, find a circuit starting at A. ADEACEFCBA and AECABCFEDA are two examples.
  • 4. How do we find an Euler Path/Circuit, once we know it must exist? • In a small graph, easy peasy. In a more complicated graph, we have an algorithm to follow…a set of directions, like a map. • This can become pretty complicated, but we will look at some easier graphs.
  • 5. A bridge is the only edge connecting two separate sections of a graph. Bridge Like with two odd vertices, we start at one end of the bridge, do our tracing, and then cross the bridge and finish tracing. This concept of “not burning your bridges” is the idea behind the algorithm we will use for Euler Paths and Euler Circuits: Fleury’s Algorithm.
  • 6. Fleury’s Algorithm, formalized • Start at any vertex if finding an Euler circuit. If finding an Euler path, start at one of the two vertices with odd degree. • Choose any edge leaving your current vertex, making sure you aren’t burning a bridge, or disconnecting the graph. • Continue until you’re done.
  • 7. Use Fleury’s algorithm to find an Euler Circuit, starting at vertex A. Original graph. We will choose edge AD Next, from D we can choose to visit edge DB, DC or DE. But choosing edge DC will disconnect the graph (it is a bridge.) so we will choose DE. From vertex E, there is only one option and the rest of the circuit is determined. Circuit: ADEBDCA
  • 8. Fleury’s algorithm: Euler path or circuit? Where to start? A B C D I J K L E F G H
  • 9. Fleury’s Algorithm If we get this far in our tracing and we are at B, we should not choose edge BC because we will burn a bridge! A B C D I J K L E F G H
  • 11. A snowplow must plow all of the streets in the grid. What are we looking for? Euler path, Euler circuit, non-traversable? Why? Exhaustive, Optimal and Efficient…. The graph is non- traversable, but we still need to plow the roads in an optimal route that covers all edges.
  • 12. Eulerizing a graphs- adding duplicate edges to make odd vertices even. This helps design an optimal, exhaustive route for a graph. Note: We can only duplicate edges, not create edges where there wasn’t one before. Duplicating would mean plowing a road twice. Adding an edge would be like plowing across someone’s front lawn!
  • 14. How about a 3 X 3 grid? Now that you have Eulerized, find an exhaustive, closed route for the snow plow. How long is the route? (How many “roads”?) Label them as you go.
  • 15. Is it possible to cross every bridge in Konigsberg exactly twice and end where you started? Explain, mathematically. N S R L
  • 16. Complete Graphs, Kn A complete graph, Kn is a graph on n vertices where every vertex is connected to each other vertex by exactly one edge. 16 A D B C A B C D E K4 K5 Is there an Euler Path, Circuit or neither on K4? K5? Draw K6 and K7 . Path or circuit? Develop rules for Euler Paths and Circuits on Kn.
  • 17. Sources: College Mathematics for Everyday Life, Kathryn Kozak et al (Coconino Community College) CC-BY- SA, http://www.coconino.edu/resources/files/pdfs/academics/arts-and- sciences/MAT142/Chapter_6_GraphTheory.pdf Math in Society, David Lippman, CC-BY-SA, http://www.opentextbookstore.com/mathinsociety/