Graph Theory: Euler Circuits Christina Mende Math 480 April 15, 2013.

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

Discrete Mathematics University of Jazeera College of Information Technology & Design Khulood Ghazal Connectivity Lecture _13.
Chapter 8 Topics in Graph Theory
Lecture 5 Graph Theory. Graphs Graphs are the most useful model with computer science such as logical design, formal languages, communication network,
22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh.
Introduction to Graph Theory Instructor: Dr. Chaudhary Department of Computer Science Millersville University Reading Assignment Chapter 1.
Graph-02.
1 Lecture 5 (part 2) Graphs II Euler and Hamiltonian Path / Circuit Reading: Epp Chp 11.2, 11.3.
Section 14.1 Intro to Graph Theory. Beginnings of Graph Theory Euler’s Konigsberg Bridge Problem (18 th c.)  Can one walk through town and cross all.
BY: MIKE BASHAM, Math in Scheduling. The Bridges of Konigsberg.
Koenigsberg bridge problem It is the Pregel River divided Koenigsberg into four distinct sections. Seven bridges connected the four portions of Koenigsberg.
A Presentation By: Jillian Minuto Troy Norman Alan Leggett Group Advisor: Prof. G. Warrington Graph Theory.
Section 2.1 Euler Cycles Vocabulary CYCLE – a sequence of consecutively linked edges (x 1,x2),(x2,x3),…,(x n-1,x n ) whose starting vertex is the ending.
An Euler Circuit is a cycle of an undirected graph, that traverses every edge of the graph exactly once, and ends at the same node from which it began.
Approximation Algorithms for the Traveling Salesperson Problem.
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
Euler Circuit Chapter 5. Fleury’s Algorithm Euler’s theorems are very useful to find if a graph has an Euler circuit or an Euler path when the graph is.
Discrete Mathematics Lecture 9 Alexander Bukharovich New York University.
Eulerian Graphs CSE 331 Section 2 James Daly. Reminders Project 3 is out Covers graphs Due Friday.
Discrete Math Round, Round, Get Around… I Get Around Mathematics of Getting Around.
GRAPH Learning Outcomes Students should be able to:
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
1 Excursions in Modern Mathematics Sixth Edition Peter Tannenbaum.
5.1  Routing Problems: planning and design of delivery routes.  Euler Circuit Problems: Type of routing problem also known as transversability problem.
Euler Paths & Euler Circuits
Euler and Hamilton Paths
Structures 7 Decision Maths: Graph Theory, Networks and Algorithms.
Euler and Hamilton Paths. Euler Paths and Circuits The Seven bridges of Königsberg a b c d A B C D.
CS 200 Algorithms and Data Structures
Graphs.  Definition A simple graph G= (V, E) consists of vertices, V, a nonempty set of vertices, and E, a set of unordered pairs of distinct elements.
Graphs, Puzzles, & Map Coloring
5.4 Graph Models (part I – simple graphs). Graph is the tool for describing real-life situation. The process of using mathematical concept to solve real-life.
Lecture 14: Graph Theory I Discrete Mathematical Structures: Theory and Applications.
Aim: What is an Euler Path and Circuit?
Lecture 10: Graph-Path-Circuit
AND.
Eulerian Paths and Cycles. What is a Eulerian Path Given an graph. Find a path which uses every edge exactly once. This path is called an Eulerian Path.
MAT 2720 Discrete Mathematics Section 8.2 Paths and Cycles
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 15 Graph Theory.
Lecture 52 Section 11.2 Wed, Apr 26, 2006
Lecture 11: 9.4 Connectivity Paths in Undirected & Directed Graphs Graph Isomorphisms Counting Paths between Vertices 9.5 Euler and Hamilton Paths Euler.
Chapter 6: Graphs 6.1 Euler Circuits
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
Walks, Paths and Circuits. A graph is a connected graph if it is possible to travel from one vertex to any other vertex by moving along successive edges.
Review Euler Graph Theory: DEFINITION: A NETWORK IS A FIGURE MADE UP OF POINTS (VERTICES) CONNECTED BY NON-INTERSECTING CURVES (ARCS). DEFINITION: A VERTEX.
M Clements Formal Network Theory. Introduction Practical problem – The Seven Bridges of Königsberg Network graphs Nodes & edges Degrees Rules/ axioms.
Introduction to Graph Theory
Hamilton Paths and Circuits 1 Click to Start 2 3 Start End.
Fleury's Algorithm Euler Circuit Algorithm
Grade 11 AP Mathematics Graph Theory Definition: A graph, G, is a set of vertices v(G) = {v 1, v 2, v 3, …, v n } and edges e(G) = {v i v j where 1 ≤ i,
1 Lecture 5 (part 2) Graphs II (a) Circuits; (b) Representation Reading: Epp Chp 11.2, 11.3
MAT 110 Workshop Created by Michael Brown, Haden McDonald & Myra Bentley for use by the Center for Academic Support.
Excursions in Modern Mathematics Sixth Edition
Çizge Algoritmaları.
Euler Paths and Circuits
Graph theory Definitions Trees, cycles, directed graphs.
Konigsberg’s Seven Bridges
Discrete Structures – CNS2300
Discrete Math: Hamilton Circuits
Can you draw this picture without lifting up your pen/pencil?
Euler Paths & Euler Circuits
Introduction to Graph Theory Euler and Hamilton Paths and Circuits
Genome Assembly.
Foundations of Discrete Mathematics
5 The Mathematics of Getting Around
Euler and Hamilton Paths
Applied Combinatorics, 4th Ed. Alan Tucker
Warm Up – Tuesday Find the critical times for each vertex.
Graph Theory Relations, graphs
Warm Up – 3/19 - Wednesday Give the vertex set. Give the edge set.
Presentation transcript:

Graph Theory: Euler Circuits Christina Mende Math 480 April 15, 2013

Preliminaries  A graph is a pair G=(V,E) of sets satisfying  The elements of V are the vertices of our graph.  The elements of E are the edges of our graph. a b c d V={a,b,c,d} E={{a,b},{a,c},{b,c},{c,d}}

Preliminaries  The degree of a vertex v (denoted deg(v)) is the number of edges directly connected to that vertex. a b c d V={a,b,c,d} E={{a,b},{a,c},{b,c},{c,d}} deg(a)=2deg(b)=2 deg(c)=3deg(d)=1

Preliminaries  A path of length n>0 is a sequence of edges that begins at a vertex of the graph and travels from vertex to vertex along the edges of a graph.  If a path begins and ends at the same vertex, it is called a closed path or circuit. a b c d e.g. a,b,c,d is a path a,b,c,a is a circuit.

Preliminaries  A graph is connected if it cannot be expressed as the union of two graphs a b c d Connected Disconnected G1G1 G2G2 In other words, a graph is connected if there is a path between every distinct vertex of the graph.

The Seven Bridges of Königsberg Question: Is it possible to start at some location in town, travel across all seven bridges without crossing any bridge twice, and return to the same starting point? A C B D Multigraph model of Seven Bridges of Konigsberg.

Euler Circuits  A connected graph G is called Eulerian if there exists a closed path which includes every edge of G. Note that this means each edge must be traversed once and only.  Such a path is called an Eulerian circuit.

Euler Circuits  Theorem: A connected graph G is Eulerian if and only if the degree of every vertex of G is even. A C B D

Euler Paths Constructions: Fleury’s Algorithm  If G is an Eulerian graph, then we can always construct an Euler circuit for G using the following algorithm.  Pick any vertex v to start and traverse the edges in an arbitrary manner, subject to the following rules: 1. Erase the edges as they are traversed, 2. Never cross a bridge of the reduced graph unless there is no other choice, 3. Avoid edges that will prematurely end the circuit. Note: a bridge is an edge such that, if you cross it, the remaining graph will be disconnected.

Fleury’s Algorithm  Pick any vertex v to start and traverse the edges in an arbitrary manner, subject to the following rules: 1. Erase the edges as they are traversed, 2. Never cross a bridge of the reduced graph unless there is no other choice, 3. Avoid edges that will prematurely end the circuit.

Hierholzer’s Algorithm 1. Pick any vertex v to start 2. From v, pick an edge to traverse, (remember to darken those edges), and continue until you return to the starting vertex v. 3. If you have traveled through all the edges, you’re done! 4. If not, pick any vertex from the the darkened graph that still has edges not traveled and repeat step 2 using this new vertex. 5. Splice together the two circuits. If you have traveled all the edges of the graph, you’re done. If not, repeat the process. A B C DE F G A, C, F, D, A F, G, B, D, G, E, B, A, F Completed Euler Circuit: A, C, F, G, B, D, G, E, B, A, F, D, A Circuit 1: Circuit 2:

Any Questions? Image from:  References  R. Diestel, Graph Theory.  L.R. Foulds, Graph Theory Applications.  K. Rosen, Discrete Mathematics and Its Applications.  R. Wilson, Introduction To Graph Theory.