Planar graph

HimshuvroAdnan 4,278 views 25 slides Mar 06, 2019
Slide 1
Slide 1 of 25
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25

About This Presentation

Title
Planar Graph Application and Algorithms.
Abstract
A Planar graph is two dimension graph. By using Planar graph visually representing network, software, design of chip and many more applications. In this report there will be discussion about non planar graph, how to convert non planar graph t...


Slide Content

PLANAR GRAPH ALGORITHMS & APPLICATIONS.

PREPARED BY SHAKIL AHMED

OUTLINE Definition of Planar Graph. Some Examples. Some Notations . Some Theorems. Kuratowski / Wagner Theorem. Euler Theorem. Some Corollaries. Non Planarity. K3,3 and k5 is not Planar Graph . Drawing of a Planar Graph. Planarity Testing. Algorithms. Applications. VLSI Circuits. References.

What is Planar Graph? Plane : Our world has three dimensions, but there are only two dimensions on a plane : Length(x) and Width(y) makes a Plane. No thickness and goes on forever. Planar Graph : It is a simple Graph. Can be drawn on the plane without edge crossings.

Some Examples of Planar Graph. Fig: Drawn in Planar Graph Fig: Non Planar Graph

Some Notations. Faces Divide the Plane in many regions. Exterior face. Interior faces. Each edge is incident to 2 faces, except in special cases: f1 f2 f3 f4 Exterior Face

Some Theorems Kuratowski’s theorem (Ref-1) Theorem ( Kuratowski , Wagner, 193*) A graph is planar, if and only if it does not contain the K 5 and the K 3,3 as a homeomorphic subgraph / as a minor. H is a minor of G, if H can be obtained from G by a series of or more deletions of vertices, deletions of edges, and contraction of edges. Does not yield fast recognition algorithm!

Euler’s Theorem. Theorem (Euler) Let G be a connected plane graph with n vertices, m edges, and f faces. Then n + f – m = 2. Proof . By induction. True if m =0. If G has a circuit, then delete an edge If G has a vertex v of degree 1, then delete v

Euler’s Theorem Corollaries. Corollary 1 : For any simple, connected, planar graph G, with |E| > 2, the following holds : | E| ≤ 3 n – 6 Proof: Each face is bounded by at least 3 edges, so : Σ d( fi) ≥ 3 f Substitute 3 f with 6 – 3 n + 3|E|, and use the lemma.

Euler’s Theorem Corollaries . (Cont..) Corollary 2 : For any simple connected bipartite planar graph G, with |E| > 2, the following holds: |E| ≤ 2 n – 4 Proof: Each face of G is bounded by at least 4 edges. The result then follows as for the previous corollary. Corollary 3 : In a simple, connected, planar graph there exists at least one vertex of degree at most 5. Proof : Without loss of generality we can assume the graph to be connected, and to have at least three vertices . If each vertex has degree at least 6, then we have 6n ≤ 2m, and so 3n ≤ m. It follows immediately from previous Corollary that 3n ≤ 3n — 6, which is a contradiction

Non Planarity. The House-and-Utilities Problem (Ref- 4)

The smallest graphs that are not planar. K 5 , K 3,3 Ref - 1 & 4

The Petersen graph is not planar, as it has K 3,3 as minor. Ref - 1 & 4

Drawing Of a Planar Graph. In steps: Test if G is planar, and Find for each vertex, a clockwise ordering of its incident edges, such that these orderings allow a planar embedding, and then Assign coordinates to vertices Different types Vertices are: Points in 2-dimensional space Rectangles, other objects Edges are Straight lines Curves Lines with bends Adjacencies or intersections of objects

Planarity Testing. Simple tests Following the simplifications, two elementary tests can be applied: If e < 9 or n < 5 then the graph must be planar. If e > 3 n – 6 then the graph must be non-planar. If these tests fail to resolve the question of planarity , then we need to use a more elaborate test . Ref - 5

Planarity Testing Algorithms . Notations: Let B be any bridge of G relative to H. B can be drawn in a face f of H', if all the points of contact of B are in the boundary of f . F(B,H): Set of faces of H' in which B is draw able. The algorithm finds a sequence of graphs G1 , G2, …, such that Gi ⊂ Gi+1. If G is non-planar then the algorithm stops with the discovery of some bridge B, for which F( B,Gi ) = ∅ Ref - 5

Planarity Testing Algorithms . (Cont..). Ref - 5

Planarity Testing Algorithms. (Cont..). 1 2 8 7 5 4 3 6 6 1 5 4 F 2 2 3 6 1 5 4 F 2 2 3 F1 F1 F3 6 1 5 4 F 2 2 3 F1 F3 F 4 7 6 1 5 4 F 2 2 3 F1 F3 F 4 7 F5 6 1 5 4 F 2 2 3 F1 F3 F 4 7 F5 F6 Ref - 5

Planarity Testing Algorithms. (Cont..). Ref - 5 6 1 5 4 F 2 2 3 F1 F3 F 4 7 F5 F6 F 7 6 1 5 4 F 2 2 3 F1 F3 F 4 7 F5 F6 F 7 F8 6 1 5 4 F 2 2 3 F1 F3 F 4 7 F5 F6 F 7 F8 F9 6 1 5 4 F 2 2 3 F1 F3 F 4 7 F5 F6 F 7 F8 F9 F10

Planarity Testing Algorithms. (Cont..) Algorithm terminates when , f = e – n + 2: 16 – 8 + 2 = 10 = f 6 1 5 4 F 2 2 3 F1 F3 F 4 7 F5 F6 F 7 F8 F9 F10

Applications. Applications: Visually representing a network (e.g., social network, organization structure, data bases (ER-diagrams), software (e.g., UML-diagrams), flow charts, phylogenetic trees (biology, evolution), … Design of “chip” layout (VLSI)

Applications : (Electrical Circuits ). Genus and crossing number have importance in the manufacture of electrical circuits on planar sheets . A convenient method: Divide the circuit into planar sub circuits Separate them with insulating sheets Make connections between sub circuits, at the vertices of the graph. X’ Y’ crossing point X Y Ref - 3

Applications : (Computer Vision ). In Computer Vision there is an abundance of problems that can be addressed as finding a minimal cut through a planar graph. such as shape matching , image segmentation or cyclic time series . Ref - 2

References. Kuratowski , Kazimierz (1930), "Sur le problème des courbes gauches en topologie" (PDF), Fund . Math. (in French), 15 : 271–283 . Efficient Planar Graph Cuts with Applications in Computer Vision, IEEE Computer Society Conference on Computer Vision and Pattern Recognition 2009, Miami, Florida. c IEEE. Design Of Integrated Circuits And Systems, Vol. 22, No. 5, May 2003, Pp 584-592. Dudeney , Henry (1917), "Problem 251 – Water, Gas, and Electricity" , Amusements in mathematics, Thomas Nelson K.S Booth ‘Testing graph planarity’ j-comp syst.sci (1976)