Euler Circuits William T. Trotter and Mitchel T. Keller

Slides:



Advertisements
Similar presentations
Discrete Mathematics University of Jazeera College of Information Technology & Design Khulood Ghazal Connectivity Lecture _13.
Advertisements

Chapter 8 Topics in Graph Theory
Every edge is in a red ellipse (the bags). The bags are connected in a tree. The bags an original vertex is part of are connected.
Walks, Paths and Circuits Walks, Paths and Circuits Sanjay Jain, Lecturer, School of Computing.
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.
1 Section 9.4 Spanning Trees. 2 Let G be a simple graph. A spanning subtree of G is a subgraph of G containing every vertex of G –must be connected; contains.
Graphs – Basic Concepts
R. Bar-Yehuda © 1 קומבינטוריקה למדעי - המחשב – הרצאה # DE BRUIJN SEQUENCES מבוסס על הספר : S. Even, "Graph Algorithms",
R. Bar-Yehuda © 1 קומבינטוריקה למדעי - המחשב – הרצאה #17 Chapter 2: TREES מבוסס על הספר : S. Even, "Graph Algorithms",
What is the first line of the proof? a). Assume G has an Eulerian circuit. b). Assume every vertex has even degree. c). Let v be any vertex in G. d). Let.
Discrete Structures Chapter 7B Graphs Nurul Amelina Nasharuddin Multimedia Department.
Is the following graph Hamiltonian- connected from vertex v? a). Yes b). No c). I have absolutely no idea v.
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
2.2 Hamilton Circuits Hamilton Circuits Hamilton Paths Tucker, Applied Combinatorics, Section 2.2, Tamsen Hunter.
1 Section 8.4 Connectivity. 2 Paths In an undirected graph, a path of length n from u to v, where n is a positive integer, is a sequence of edges e 1,
New Algorithm DOM for Graph Coloring by Domination Covering
4/17/2017 Section 8.5 Euler & Hamilton Paths ch8.5.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 10, Monday, September 22.
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.
Partially Ordered Sets Basic Concepts
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley. All rights reserved.
Discrete Math Round, Round, Get Around… I Get Around Mathematics of Getting Around.
Slide 14-1 Copyright © 2005 Pearson Education, Inc. SEVENTH EDITION and EXPANDED SEVENTH EDITION.
5.1  Routing Problems: planning and design of delivery routes.  Euler Circuit Problems: Type of routing problem also known as transversability problem.
(CSC 102) Lecture 29 Discrete Structures. Graphs.
Spring 2015 Mathematics in Management Science Network Problems Networks & Trees Minimum Networks Spanning Trees Minimum Spanning Trees.
7.1 and 7.2: Spanning Trees. A network is a graph that is connected –The network must be a sub-graph of the original graph (its edges must come from the.
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.
Introduction to Graph Theory
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Examples Euler Circuit Problems Unicursal Drawings Graph Theory
Aim: What is an Euler Path and Circuit?
Graph Theory. A branch of math in which graphs are used to solve a problem. It is unlike a Cartesian graph that we used throughout our younger years of.
Vertex-Edge Graphs Euler Paths Euler Circuits. The Seven Bridges of Konigsberg.
Graph theory and networks. Basic definitions  A graph consists of points called vertices (or nodes) and lines called edges (or arcs). Each edge joins.
MAT 2720 Discrete Mathematics Section 8.2 Paths and Cycles
Lecture 52 Section 11.2 Wed, Apr 26, 2006
Chapter 6: Graphs 6.1 Euler Circuits
Spanning Tree Algorithms William T. Trotter and Mitchel T. Keller Math 3012 – Applied Combinatorics Spring 2009.
 Quotient graph  Definition 13: Suppose G(V,E) is a graph and R is a equivalence relation on the set V. We construct the quotient graph G R in the follow.
Combinatorics Ramsey theory.  a precocious British mathematician, philosopher and economist  a problem in mathematical logic: can one always find order.
1) Find and label the degree of each vertex in the graph.
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
رياضيات متقطعة لعلوم الحاسب MATH 226. Chapter 10.
Code: BCA302 Data Structures with C Prof. (Dr.) Monalisa Banerjee By.
Trees.
De Bruijn sequences 陳柏澍 Novembers Each of the segments is one of two types, denoted by 0 and 1. Any four consecutive segments uniquely determine.
Euler Paths and Circuits
Discrete Structures – CNS2300
12. Graphs and Trees 2 Summary
The Definition of Algorithm
Tucker, Applied Combinatorics, Sec 2.4
Discrete Math: Hamilton Circuits
Can you draw this picture without lifting up your pen/pencil?
Introduction to Graph Theory Euler and Hamilton Paths and Circuits
Walks, Paths, and Circuits
Trees L Al-zaid Math1101.
A path that uses every vertex of the graph exactly once.
Discrete Mathematics Lecture 13_14: Graph Theory and Tree
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
CPS420 Euler Circuit Construction
Euler and Hamilton Paths
Applied Combinatorics, 4th Ed. Alan Tucker
Warm Up – Tuesday Find the critical times for each vertex.
Warm Up – 3/19 - Wednesday Give the vertex set. Give the edge set.
Graph Theory: Euler Graphs and Digraphs
Presentation transcript:

Euler Circuits William T. Trotter and Mitchel T. Keller Math 3012 Applied Combinatorics Spring 2009

Euler Circuits in Graphs A sequence x0, x1, x2, …, xt of vertices is called an euler circuit in a graph G if: x0 = xt; For every i = 0, 1, 2, …, t-1, xi xi+1 is an edge of G; and For every edge e of G, there is a unique i with 0 ≤ i < t so that e = xi xi+1.

Euler Circuits in Graphs Here is an euler circuit for this graph: (1,8,3,6,8,7,2,4,5,6,2,3,1)

Euler’s Theorem A graph G has an euler circuit if and only if it is connected and every vertex has even degree.

Algorithm for Euler Circuits Choose a root vertex r and start with the trivial partial circuit (r). Given a partial circuit (r = x0,x1,…,xt = r) that traverses some but not all of the edges of G containing r, remove these edges from G. Let i be the least integer for which xi is incident with one of the remaining edges. Form a greedy partial circuit among the remaining edges of the form (xi = y0,y1,…,ys = xi). Expand the original circuit: r =(x0,x1,…, xi-1, xi = y0,y1,…,ys = xi, xi+1,…, xt=r)

An Example Start with the trivial circuit (1). Then the greedy algorithm yields the partial circuit (1,2,4,3,1).

Remove Edges and Continue Start with the partial circuit (1,2,4,3,1). First vertex incident with an edge remaining is 2. A greedy approach yields (2,5,8,2). Expanding, we get the new partial circuit (1,2,5,8,2,4,3,1)

Remove Edges and Continue Start with the partial circuit (1,2,5,8,2,4,3,1). First vertex incident with an edge remaining is 4. A greedy approach yields (4,6,7,4,9,6,10,4). Expanding, we get the new partial circuit (1,2,5,8,2,4,6,7,4,9,6,10,4,3,1)

Remove Edges and Continue Start with the partial circuit (1,2,5,8,2,4,6,7,4,9,6,10,4,3,1) First vertex incident with an edge remaining is 7. A greedy approach yields (7,9,11,7). Expanding, we get the new partial circuit (1,2,5,8,2,4,6,7,9,11,7,4,9,6,10,4,3,1). This exhausts the edges and we have an euler circuit.