Introduction to Planarity Test W. L. Hsu. 2/21 Plane Graph A plane graph is a graph drawn in the plane in such a way that no two edges intersect –Except.

Slides:



Advertisements
Similar presentations
Graphs, Planar graphs Graph coloring
Advertisements

Planar graphs Algorithms and Networks. Planar graphs2 Can be drawn on the plane without crossings Plane graph: planar graph, given together with an embedding.
Testing planarity part 1 Thomas van Dijk. Preface Appendix of Planar Graph Drawing Quite hard to read So we’ll try to explain it, not just tell you about.
9.7 Planar Graphs. Intro problem- 3 houses and 3 utilities K 3,3 problem: Can 3 houses be connected to 3 utilities so that no 2 lines cross? Similarly,
Applications of Euler’s Formula for Graphs Hannah Stevens.
Planar / Non-Planar Graphs Gabriel Laden CS146 – Spring 2004 Dr. Sin-Min Lee.
Planarity and Higher Order Embeddings Shawn Cox CS 594: Graph Theory
Graph Theory Chapter 9 Planar Graphs 大葉大學 資訊工程系 黃鈴玲.
Applied Combinatorics, 4th Ed. Alan Tucker
P LANARITY T ESTING A ND E MBEDDING By: Seyed Akbar Mostafavi Fall
Graph Drawing Introduction 2005/2006. Graph Drawing: Introduction2 Contents Applications of graph drawing Planar graphs: some theory Different types of.
Applied Combinatorics, 4th Ed. Alan Tucker
Computational Geometry Seminar Lecture 1
Tucker, Applied Combinatorics, Section 1.4, prepared by Patti Bodkin
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
Drawing of G. Planar Embedding of G Proposition Proof. 1. Consider a drawing of K 5 or K 3,3 in the plane. Let C be a spanning cycle. 2. If the.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 4, Monday, September 8.
Curve Curve: The image of a continous map from [0,1] to R 2. Polygonal curve: A curve composed of finitely many line segments. Polygonal u,v-curve: A polygonal.
Graph Theory Ch6 Planar Graphs. Basic Definitions  curve, polygon curve, drawing  crossing, planar, planar embedding, and plane graph  open set  region,
Graph Theory Chapter 6 Planar Graphs Ch. 6. Planar Graphs.
Subdivision of Edge In a graph G, subdivision of an edge uv is the operation of replacing uv with a path u,w,v through a new vertex w.
More Graphs, Subgraphs and Trees Planarity and Coloring.
Introduction to Planarity Test W. L. Hsu. Plane Graph A plane graph is a graph drawn in the plane in such a way that no two edges intersect A plane graph.
V Spanning Trees Spanning Trees v Minimum Spanning Trees Minimum Spanning Trees v Kruskal’s Algorithm v Example Example v Planar Graphs Planar Graphs v.
Planar Graphs. A graph is called planar if it can be drawn in the plane in such a way that no two edges cross. Example of a planar graph: The clique on.
MAT 2720 Discrete Mathematics Section 8.7 Planar Graphs
15-853Page :Algorithms in the Real World Planar Separators I & II – Definitions – Separators of Trees – Planar Separator Theorem.
Planar Graphs Graph Coloring
VLSI Layout Algorithms CSE 6404 A 46 B 65 C 11 D 56 E 23 F 8 H 37 G 19 I 12J 14 K 27 X=(AB*CD)+ (A+D)+(A(B+C)) Y = (A(B+C)+AC+ D+A(BC+D)) Dr. Md. Saidur.
Agenda Review: –Planar Graphs Lecture Content:  Concepts of Trees  Spanning Trees  Binary Trees Exercise.
Planar Graphs Prepared by: Asa Dan, Ofer Kiselov, Hillel Mendelson & Ofir Pupko Graph Theory with CE Applications Technion 2015.
Stefan Felsner planar graph G planar embedding of G A graph G is planar if it can be drawn on the plane with no crossing edges.
5.8 Graph Matching  Example: Set of worker assign to a set of task  Four tasks are to be assigned to four workers.  – Worker 1 is qualified to do tasks.
An Introduction to Graph Theory
Chap. 11 Graph Theory and Applications 1. Directed Graph 2.
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
Chapter 9.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 6th ed., by Kenneth H.
S&H Planarity Test Based on PC-Trees Wen-Lian Hsu.
COMPSCI 102 Introduction to Discrete Mathematics.
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Planarity Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering, IIT.
Chapter 7 Planar Graphs 大葉大學 資訊工程系 黃鈴玲  7.2 Planar Embeddings  7.3 Euler’s Formula and Consequences  7.4 Characterization of Planar Graphs.
Graphs. Representations of graphs : undirected graph An undirected graph G have five vertices and seven edges An adjacency-list representation of G The.
Algorithms and Networks
Great Theoretical Ideas In Computer Science
Outline 1 Properties of Planar Graphs 5/4/2018.
Discrete Mathematics Graph: Planar Graph Yuan Luo
Characteristics of Planar Graphs
Graph Theory CSRU1400, Fall 2007 Ellen Zhang.
Applied Combinatorics, 4th Ed. Alan Tucker
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
Planarity and Euler’s Formula
Planarity Cox, Sherman, Tong.
Graph.
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
Applied Combinatorics, 4th Ed. Alan Tucker
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
MAT 2720 Discrete Mathematics
Planarity.
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 8th ed., by Kenneth H.
N(S) ={vV|uS,{u,v}E(G)}
Gaph Theory Planar Graphs
GRAPH THEORY Properties of Planar Graphs Ch9-1.
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
Planarity.
Agenda Review Lecture Content: Shortest Path Algorithm
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
GRAPH THEORY Properties of Planar Graphs Ch9-1.
Presentation transcript:

Introduction to Planarity Test W. L. Hsu

2/21 Plane Graph A plane graph is a graph drawn in the plane in such a way that no two edges intersect –Except at a vertex to which they are both incident A planar graph is one which is isomorphic to a plane graph –Namely, it has a plane embedding

3/21 Planar Graphs

4/21 Planar Graph Embedding Clockwise edge ordering

5/21 Issues in Planarity Test If you can find a planar embedding, then the graph is planar. How do you determine if a graph is not planar? This is the more difficult part of many recognition algorithm, namely, deciding when a graph “does not” belong to a class –Get a certificate for non-planar graphs –Or alternatively, you have tried all possible ways but still fail to embed the graph in the plane (proof by exhaustion) –Use counting argument

6/21 Basic Non-Planar Graphs K5K5 K 3,3

7/21 Euler’s Theorem (1752) Euler’s theorem Let G be a connected plane graph, and let f be the # of faces of G. Then n + f = m + 2 –Prove by induction on the # of edges. Corollary. m  3 n – 6 –First show that 3f  2m since every face is bounded by at least 3 edges (# of edges is at least 3 f / 2)

8/21 K 5 and K 3,3 are non-planar If K 5 is planar, then by previous Corollary, we have 10  9.  K 3,3 is bipartite. Assume it is planar, then every face is even (has at least 4 edges). –Hence 4 f  2 m or 2 f  m. Do not adopt the previous Corollary directly By Euler’s theorem, f = m + 2 – n = – 6 = 5 –Namely, 10 = 2 f  m = 9. 

9/21 Kuratowski’s Theorem Two graphs are homeomorphic if they can be obtained from the same graph by inserting new vertices of degree 2 into its edges A graph is planar if and only if it contains no subgraph homeomorphic to K 5 or K 3,3 The latter are referred to as Kuratowski subgraphs

Planarity Test

11/21 How do you draw a planar graph without regret ? This means that, besides keeping the current embedding planar, your embedding can also keep future options open. You will have to design an embedding “scheme” rather than obtain a “physical” ( 實體的 ) embedding

12/21 Prior Results 1st approach –Hopcroft and Tarjan [1974],first O(m) time. –PATH ADDITION 2nd approach –Lempel, Even and Cederbaum[1967], O(n 2 ) time –VERTEX ADDITION –st-numbering, consecutive ones testing –Booth and Lueker [1976] used PQ-trees to test the consecutive ones property in O(m+n) time 3rd approach –Shih and Hsu [1999] used PC-trees for recognition and embedding. –EDGE ADDITION

A Brief Intro. to the Vertex Addition Approach of LEC

14/21 Vertex Addition Approach of LEC 1.Keep the current partial planar graph connected 2.Keep those non-added vertices a connected subgraph (i.e. in the same face). 3.Apply a consecutive ones test every time a new vertex is added

15/21 st-numbering (I) Consider a 2-connected graph G. Pick any two adjacent vertices s and t. Order the vertices of G into s, v(1),..., v(k), t such that s s v(i)v(i) v(i)v(i) v(i+1) v(i+1),…, t must be imbedded in the same face t t v(i+1)

16/21 St-numbering(II) s v(i)v(i) t s v(i)v(i) t v(i+1) Depth-First-Search s v(i)v(i) t

17/21 1=s 6=t (a) B 1 (a’) (b) B 2 (b’) Bush Form (1)

18/21 (c) B 2 ’ (c’) (d) B (d’) Bush Form (2)

19/21 (e) B 3 ’ (e’) (f’) (f) B Bush Form (3)

20/21 (g) B 4 ’ (g’) (h’) 6666 (h) B Bush Form (4)

21/21 (i) G=G 6 =B (i’) Bush Form (5)