Graph Theory: Euler Graphs and Digraphs

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

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.
Walks, Paths and Circuits Walks, Paths and Circuits Sanjay Jain, Lecturer, School of Computing.
BY: MIKE BASHAM, Math in Scheduling. The Bridges of Konigsberg.
Graphs CS-240/341. Graphs Used for representing many-to-many relationships –can take two forms directed (digraph) - a finite set of elements called vertices.
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.
Approximation Algorithms for the Traveling Salesperson Problem.
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
MCA 520: Graph Theory Instructor Neelima Gupta
The Shortest Path Problem
Introduction to Graph Theory
Data Structures Using C++ 2E
Programming for Geographical Information Analysis: Advanced Skills Online mini-lecture: Introduction to Networks Dr Andy Evans.
Lecture 12-2: Introduction to Computer Algorithms beyond Search & Sort.
7.1 Introduction to Graph Theory
Graph Theory Topics to be covered:
Foundations of Discrete Mathematics
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.
CSE, IIT KGP Euler Graphs and Digraphs. CSE, IIT KGP Euler Circuit We use the term circuit as another name for closed trail.We use the term circuit as.
Trees and Distance. 2.1 Basic properties Acyclic : a graph with no cycle Forest : acyclic graph Tree : connected acyclic graph Leaf : a vertex of degree.
Graph Theory Chapter 7 Eulerian Graphs 大葉大學 (Da-Yeh Univ.) 資訊工程系 (Dept. CSIE) 黃鈴玲 (Lingling Huang)
Chinese postman problem
Structures 7 Decision Maths: Graph Theory, Networks and Algorithms.
CSE, IIT KGP Graph Theory: Introduction Pallab Dasgupta Dept. of CSE, IIT
Chapter 1 Fundamental Concepts II Pao-Lien Lai 1.
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Introduction Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering,
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.
Chapter 1 Fundamental Concepts Introduction to Graph Theory Douglas B. West July 11, 2002.
Graph Theory and Applications
Graph theory and networks. Basic definitions  A graph consists of points called vertices (or nodes) and lines called edges (or arcs). Each edge joins.
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.
Lecture 52 Section 11.2 Wed, Apr 26, 2006
Chapter 6: Graphs 6.1 Euler Circuits
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Hamiltonian Cycles Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering,
Trees Thm 2.1. (Cayley 1889) There are nn-2 different labeled trees
Introduction to Graph Theory
CSE, IIT KGP Graph Theory: Introduction Pallab Dasgupta Dept. of CSE, IIT
Introduction to Graph Theory
EULER PATHS & CHINESE POSTMAN SOL: DM.2 CLASSWORK WORKSHEET HOMEWORK (DAY 59) WORKSHEET.
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Trees Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering, IIT
Connectivity. Graph Scanning Algorithm Input: A graph G and some vertex s. Output: The set R of vertices reachable from s and a set T ⊆ E(G) such that.
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Planarity Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering, IIT.
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Matchings and Factors Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering,
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,
Chinese Postman Problem
Graph Theory CSRU1400, Fall 2007 Ellen Zhang.
Euler Paths and Circuits
Graph theory Definitions Trees, cycles, directed graphs.
12. Graphs and Trees 2 Summary
Advanced Algorithms Analysis and Design
Planarity Testing.
Introduction to Graph Theory Euler and Hamilton Paths and Circuits
Graph.
Genome Assembly.
Trees.
Walks, Paths, and Circuits
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.
5.4 T-joins and Postman Problems
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Hamiltonian Cycles.
Proof Techniques.
Planarity.
Chapter 1: Urban Services Management Science
Graph Theory: Cuts and Connectivity
Graph Theory: Proof Techniques
Graph Theory: Degree Sequences and Digraphs
Presentation transcript:

Graph Theory: Euler Graphs and Digraphs Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering, IIT Kharagpur pallab@cse.iitkgp.ernet.in

Euler Circuit We use the term circuit as another name for closed trail. A circuit containing every edge of G is an Eulerian circuit. A graph whose edges comprise a single closed trail is Eulerian.

Properties Non-trivial maximal trails in even graphs are closed. A finite graph G is Eulerian if and only if all its vertex degrees are even and all its edges belong to a single component. For a connected nontrivial graph with 2k odd vertices, the minimum number of pairwise edge-disjoint trails covering the edges is max{k, 1}.

Fleury’s Algorithm Input: A graph G with one non-trivial component and at most two odd vertices. Initialization: Start at a vertex that has odd degree unless G is even, in which case start at any vertex. Iteration: From the current vertex, traverse any remaining edge whose deletion from the graph does not leave a graph with two non-trivial components. Stop when all edges have been traversed.

Euler Trails in Directed Graphs Input: A digraph G that is an orientation of a connected graph and has d+(u) = d(u) for all u V(G). Step1: Choose a vertex v V(G). Let G be the digraph obtained from G by reversing direction on each edge. Search G to construct T consisting of paths from v to all other vertices. Step2: Let T be the reversal of T. T contains a u,v-path in G for each u  V(G). Specify an arbitrary ordering of the edges that leave each vertex u, except that for uv, the edge leaving u in T must come last. Step3: Construct an Eulerian circuit from v as follows. Whenever u is the current vertex, exit along the next unused edge in the ordering specified for edges leaving u.

The Chinese Postman Problem Suppose a mail carrier traverses all edges in a road network, starting and ending at the same vertex. The edges have non-negative weights representing distance or time. We seek a closed walk of minimum total length that uses all the edges.