Chapter 8 Topics in Graph Theory

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

Chapter 9 Graphs.
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.
Midwestern State University Department of Computer Science Dr. Ranette Halverson CMPS 2433 – CHAPTER 4 GRAPHS 1.
Graph-02.
 期中测验时间:本周五上午 9 : 40  教师 TA 答疑时间 : 周三晚上 6 : 00—8 : 30  地点:软件楼 315 房间,  教师 TA :李弋老师  开卷考试.
1 Lecture 5 (part 2) Graphs II Euler and Hamiltonian Path / Circuit Reading: Epp Chp 11.2, 11.3.
Lecture 21 Paths and Circuits CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
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.
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.
Discrete Structures Chapter 7B Graphs Nurul Amelina Nasharuddin Multimedia Department.
Discrete Structures Chapter 7A Graphs Nurul Amelina Nasharuddin Multimedia Department.
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
Chapter 4 Graphs.
MTH118 Sanchita Mal-Sarkar. Routing Problems The fundamental questions: Is there any proper route for the particular problem? If there are many possible.
Discrete Mathematics Lecture 9 Alexander Bukharovich New York University.
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.
9.2 Graph Terminology and Special Types Graphs
GRAPH Learning Outcomes Students should be able to:
Graphs Chapter 10.
Graph Theoretic Concepts. What is a graph? A set of vertices (or nodes) linked by edges Mathematically, we often write G = (V,E)  V: set of vertices,
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.
(CSC 102) Lecture 29 Discrete Structures. Graphs.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
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.
CSNB143 – Discrete Structure Topic 9 – Graph. Learning Outcomes Student should be able to identify graphs and its components. Students should know how.
Chapter 6 Graph Theory R. Johnsonbaugh Discrete Mathematics 5 th edition, 2001.
 2. Region(face) colourings  Definitions 46: A edge of the graph is called a bridge, if the edge is not in any circuit. A connected planar graph is called.
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.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Chapter 5 Graphs  the puzzle of the seven bridge in the Königsberg,  on the Pregel.
Introduction to Graph Theory
Unit – V Graph theory. Representation of Graphs Graph G (V, E,  ) V Set of vertices ESet of edges  Function that assigns vertices {v, w} to each edge.
An Introduction to Graph Theory
Graph Theory and Applications
CSCI 115 Chapter 8 Topics in Graph Theory. CSCI 115 §8.1 Graphs.
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
 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.
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.
Introduction to Graph Theory
Chapter 11 - Graph CSNB 143 Discrete Mathematical Structures.
Week 11 - Wednesday.  What did we talk about last time?  Graphs  Paths and circuits.
(CSC 102) Lecture 30 Discrete Structures. Graphs.
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.
An Introduction to Graph Theory
CSNB 143 Discrete Mathematical Structures
Graphs: Definitions and Basic Properties
Chapter 5 Fundamental Concept
Graph theory Definitions Trees, cycles, directed graphs.
AND.
Agenda Lecture Content: Introduction to Graph Path and Cycle
Discrete Structures – CNS2300
Can you draw this picture without lifting up your pen/pencil?
G-v, or G-{v} When we remove a vertex v from a graph, we must remove all edges incident with the vertex v. When a edge is removed from a graph, without.
Graph Theory What is a graph?.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Euler and Hamilton Paths
Euler circuit Theorem 1 If a graph G has an Eulerian path, then it must have exactly two odd vertices. Theorem 2 If a graph G has an Eulerian circuit,
Applied Combinatorics, 4th Ed. Alan Tucker
Warm Up – 3/19 - Wednesday Give the vertex set. Give the edge set.
Chapter 14 Graphs © 2011 Pearson Addison-Wesley. All rights reserved.
Presentation transcript:

Chapter 8 Topics in Graph Theory CSCI 115 Chapter 8 Topics in Graph Theory

CSCI 115 §8.1 Graphs

§8.1 – Graphs Graph A graph G consists of a finite set of vertices V, a finite set of edges E, and a function γ that assigns a subset of vertices {v, w} to each edge (v may equal w) If e is an edge, and γ(e) = {v, w} we say e is the edge between v & w, and that v & w are the endpoints of e

§8.1 – Graphs Terminology Degree of a vertex Loop Isolated vertex Number of edges having that vertex as an endpoint Loop Edge from a vertex to itself Contributes 2 to the degree of a vertex Isolated vertex Vertex with degree 0 Adjacent vertices Vertices that share an edge

§8.1 – Graphs Path A path  in a graph G consists of a pair of sequences (V, E), V: v1, v2, …, vk and E: e1, e2, …, ek–1 s.t.: γ(ei) = {vi, vi+1} i ei  ej  i, j

§8.1 – Graphs More terminology Circuit Simple path Simple circuit Path that begins and ends at the same vertex Simple path No vertex appears more than once (except possibly the first and last) Simple circuit Simple path where first and last vertices are equal

§8.1 – Graphs Special types of graphs Connected graph  path from every vertex to every other (different) vertex Disconnected graph There are at least 2 vertices which do not have a path between them components Regular Graph All vertices have the same degree

§8.1 – Graphs Special families of graphs (n  Z+) Un: The discrete graph on n vertices The graph with n vertices and no edges Kn: The complete graph on n vertices The graph with n vertices, and an edge between every pair of vertices Ln: The linear graph on n vertices The graph with n vertices and edges {vi, vi+1}  i  {1, 2, …, n – 1}

§8.1 – Graphs Subgraphs If G = (V, E, γ) and E1  E, V1  V s.t. V1 contains (at least) all of the end points of edges in E1, then H = (V1, E1, γ) is a subgraph of G If G = (V, E, γ) and e  E, then Ge is the subgraph found by deleting e from G and keeping all vertices

§8.1 – Graphs Quotient graphs If G = (V, E, γ) and R is an equivalence relation on V, then GR is the quotient graph found by merging all vertices within the same equivalence classes.

§8.2 Euler Paths and Circuits CSCI 115 §8.2 Euler Paths and Circuits

§8.2 – Euler Paths and Circuits A path in a graph G is an Euler path if it includes every edge exactly once An Euler circuit is an Euler path that is also a circuit

§8.2 – Euler Paths and Circuits Theorem 8.2.1 If G has a vertex of odd degree, there can be no Euler circuit of G If G is a connected graph and every vertex has even degree then there is an Euler circuit in G Theorem 8.2.2 If a graph G has more than 2 vertices of odd degree, there can be no Euler path in G If G is connected and has exactly 2 vertices of odd degree, then there exists an Euler path in G. Any Euler path must begin at one vertex of odd degree, and end at the other.

§8.2 – Euler Paths and Circuits Theorem 8.2.1 and 8.2.2 Existence theorems Bridge A bridge is an edge in a connected graph that if removed would result in a disconnected graph

§8.2 – Euler Paths and Circuits Fleury’s Algorithm for finding an Euler circuit for a connected graph where every vertex has even degree (let G = V, E, γ) Select and edge e1 of G with vertices (v1, v2) that is not a bridge. Let  be (V: v1, v2, E: e1). Remove e1 from E and v1 and v2 from V to create G1. Suppose V: v1, v2, …, vk and E: e1, e2, …, ek–1 have been constructed to form Gk–1. Select ek in Gk–1 that has vk as a vertex and is not a bridge in Gk–1 (discounting vk). Extend V to v1, v2, …, vk, vk+1 and E to e1, e2, …, ek–1, ek. Repeat step 2 until no edges remain in E.

§8.3 Hamiltonian Paths and Circuits CSCI 115 §8.3 Hamiltonian Paths and Circuits

§8.3 – Hamiltonian Paths and Circuits A Hamiltonian path is a path that contains each vertex exactly once A Hamiltonian circuit is a Hamiltonian path that is also a circuit

§8.3 – Hamiltonian Paths and Circuits Theorem 8.3.1 Let G be a connected graph with n vertices (n  Z, n  2), with no loops or multiple edges. G has a Hamiltonian circuit if for any 2 vertices u and v of G that are not adjacent, the degree of u plus the degree of v is  n. Corollary 8.3.1 G has a Hamiltonian circuit if each vertex has degree  (n/2).

§8.3 – Hamiltonian Paths and Circuits Theorem 8.3.2 Let the number of edges of G be m. Then G has a Hamiltonian circuit if m  ½(n2 – 3n + 6) where n is the number of vertices.