Eulerizing Graph Ch 5.

Slides:



Advertisements
Similar presentations
Math for Liberal Studies. This graph does not have an Euler circuit. This graph does have an Euler circuit.
Advertisements

Graph-02.
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 Chapter 15.3 Hamilton Paths and Hamilton Circuits Objectives 1.Understand the definitions of Hamilton paths & Hamilton circuits. 2.Find the number of.
Koenigsberg bridge problem It is the Pregel River divided Koenigsberg into four distinct sections. Seven bridges connected the four portions of Koenigsberg.
E ULERIZING G RAPHS Notes 25 - Section 5.7. E SSENTIAL L EARNINGS Students will understand and be able to use Eulerization to find optimal exhaustive.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
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.
A traveling salesman has customers in 5 cities which we will call A, B, C, D, and E. The salesman needs to travel to all 5 cities with his trip starting.
Homework collection Thursday 3/29 Read Pages 160 – 174 Page 185: 1, 3, 6, 7, 8, 9, 12 a-f, 15 – 20.
4/17/2017 Section 8.5 Euler & Hamilton Paths ch8.5.
Traveling-Salesman Problem Ch. 6. Hamilton Circuits Euler circuit/path => Visit each edge once and only once Hamilton circuit => Visit each vertex once.
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.
MTH118 Sanchita Mal-Sarkar. Routing Problems The fundamental questions: Is there any proper route for the particular problem? If there are many possible.
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.
1 Excursions in Modern Mathematics Sixth Edition Peter Tannenbaum.
Graph Theory Topics to be covered:
5.1  Routing Problems: planning and design of delivery routes.  Euler Circuit Problems: Type of routing problem also known as transversability problem.
Graph Theory Hamilton Paths and Hamilton Circuits.
5.7 Eulerizing Graphs. Euler circuit and Euler path do not always exist. There are many graphs (in real life) that have more than 2 odd vertices. Instead.
Chapter 4 sections 1 and 2.  Fig. 1  Not connected  All vertices are even.  Fig. 2  Connected  All vertices are even.
Spring 2015 Mathematics in Management Science Network Problems Networks & Trees Minimum Networks Spanning Trees Minimum Spanning Trees.
Which of these can be drawn without taking your pencil off the paper and without going over the same line twice? If we can find a path that goes over all.
There is a Postman who delivers mail to a certain neighborhood of streets. The postman is unwilling to walk far so he wants to find the shortest route.
Chinese postman problem
Spring 2015 Mathematics in Management Science Chinese Postman Problem What is CPP? CPP & ECs & EPs Fleury’s Algorithm Eulerization.
1 Excursions in Modern Mathematics Sixth Edition Peter Tannenbaum.
6.1 Hamilton Circuits and Paths: Hamilton Circuits and Paths: Hamilton Path: Travels to each vertex once and only once… Hamilton Path: Travels to each.
© 2010 Pearson Prentice Hall. All rights reserved. 1 §15.3, Hamilton Paths and Circuits.
Amusement park project
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.
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?
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
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.
Chapter 1: Urban Services Lesson Plan
CIRCUITS, PATHS, AND SCHEDULES Euler and Königsberg.
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.
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 15 Graph Theory.
Chapter 6: Graphs 6.1 Euler Circuits
Street Networks Ch. 1 Finite Math. Our Learning Goal (why am I doing this?) To be able to figure out the best path to choose when traveling a street network.
EULER PATHS & CHINESE POSTMAN SOL: DM.2 CLASSWORK WORKSHEET HOMEWORK (DAY 59) WORKSHEET.
1) Find and label the degree of each vertex in the graph.
Today we will… Identify the vertices and edges on a given shape.
Chapter 14 Section 3 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Excursions in Modern Mathematics Sixth Edition
Excursions in Modern Mathematics Sixth Edition
Excursions in Modern Mathematics Sixth Edition
Çizge Algoritmaları.
Amusement park project
UNIT 1: EULER CIRCUITS GRAPH THEORY.
Discrete Math: Hamilton Circuits
Can you draw this picture without lifting up your pen/pencil?
* Hamiltonian Circuits introduction
Nuffield Free-Standing Mathematics Activity
Introduction to Vertex-Edge graphs (2 days)
Excursions in Modern Mathematics Sixth Edition
5 The Mathematics of Getting Around
A path that uses every vertex of the graph exactly once.
Route Inspection Which of these can be drawn without taking your pencil off the paper and without going over the same line twice? If we introduce a vertex.
Hamiltonian Circuits and Paths Vocabulary
Hamilton Paths and Hamilton Circuits
Chapter 1: Urban Services Management Science
Warm Up – 3/19 - Wednesday Give the vertex set. Give the edge set.
Traveling Salesman Problems Nearest Neighbor Method
Warm Up – 3/17 - Monday A) List the set of vertices.
5 The Mathematics of Getting Around
Presentation transcript:

Eulerizing Graph Ch 5

Euler Circuit and Euler path When a graph has no vertices of odd degree, then it has at least one Euler circuit. When a graph has exactly two vertices of odd degree, then it has at least one Euler path. When a graph has more than two vertices of odd degree, then There is no Euler circuit or Euler path There is no possible way that we can travel along all the edges of the graph without having to recross some of them.

Euler circuit & Euler path How we will find a route that covers all the edges of the graph while revisiting the least possible number of edges (deadhead travel)? In real-world problems, The cost is proportional to the amount of travel. Total cost of a route = cost of traveling original edges in the graph + cost of deadhead travel

Graph 1: No Euler circuit, No Euler path B C D E F G H I J K L Original graph Represents vertex of odd degree The graph has total 8 vertices of odd degree => The graph has no Euler circuit or Euler path

An eulerized version of the graph B C D E F G H I J K L By adding a duplicate copy of edges BC, EF, HI, and KL to the previous graph, we get the above graph. The graph has all vertices of even degree => The graph has Euler circuits

An eulerized version of the graph B C D E F G H I J K L 10 11 28 1 2 9 3 12 18 19 20 27 17 8 13 21 4 16 15 14 26 7 5 22 6 25 23 24 The graph has all vertices of even degree The graph has Euler circuits Travel as numbered, you will get one such Euler circuit.

Trip along the edges of our original graph B C D E F G H I J K L 2, 10 11 28 1 9 3 12 18 19 20 27, 17 8 13, 21 4 16 15 14 26 7 5 22 25 6, 24 23 In this trip we are traveling along all of the edges of the graph, but we are retracing four of them: BC, EF, HI, and KL. This is not an Euler circuit for the original graph, it is a circuit describing the most efficient trip – an optimal circuit.

Eulerizing a graph We have started with a graph Modifying it by adding extra edges in such a way that the odd vertices become even vertices. The process of changing a graph by adding additional edges so that odd vertices are eliminated is called eulerizing the graph. Note: The edges that we add must be duplicates of edges that already exist. The idea is to cover the edges of the original graph in the best possible way without creating any new.

Graph 2: Another Example B C D E F G H I J K L M N O P Original graph Represents vertex of odd degree The graph has total 12 vertices of odd degree => The graph has no Euler circuit or Euler path

Illegal eularization of the graph B C D E F G H I J K L M N O P Edges DF and NL were not part of the original graph

Inefficient eularization of the graph B C D E F G H I J K L M N O P

Optimal eularization of the graph B C D E F G H I J K L M N O P

Semi- eularization of the graph We are not required to start and end at the same vertex. We duplicate as many edges as needed to eliminate all odd vertices except for two, which we allow to remain odd. We then use one of the odd vertices as the starting point and we will end up to the other odd vertex.

Semi- eularization of the graph B C D E F G H I J K L M N O P Original graph Represents vertex of odd degree The graph has total 12 vertices of odd degree => The graph has no Euler circuit or Euler path

Semi- eularization of the graph B C D E F G H I J K L M N O P Vertices D and F remain odd All other vertices are now even that were originally odd: B, C, G, H, J, K, L, N, O, and P

Semi-eularization of the graph Semi-eularization tells us that is possible to travel all the edges of the graph by starting at D and ending at F (or vice versa) and duplicating only six of the edges: BC, GH, JK, LM, MN, and OP There are many other ways to accomplish this, but none of them can do with fewer than 6 duplicate edges.