1 Succinct Representation of Labeled Graphs Jérémy Barbay, Luca Castelli Aleardi, Meng He, J. Ian Munro.

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

LEUCEMIA MIELOIDE AGUDA TIPO 0
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Chapter 28 Weighted Graphs and Applications
Mathematical Preliminaries
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 38.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
Chapter 1 Image Slides Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
0 - 0.
ALGEBRAIC EXPRESSIONS
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
MULTIPLYING MONOMIALS TIMES POLYNOMIALS (DISTRIBUTIVE PROPERTY)
ADDING INTEGERS 1. POS. + POS. = POS. 2. NEG. + NEG. = NEG. 3. POS. + NEG. OR NEG. + POS. SUBTRACT TAKE SIGN OF BIGGER ABSOLUTE VALUE.
MULTIPLICATION EQUATIONS 1. SOLVE FOR X 3. WHAT EVER YOU DO TO ONE SIDE YOU HAVE TO DO TO THE OTHER 2. DIVIDE BY THE NUMBER IN FRONT OF THE VARIABLE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
FACTORING Think Distributive property backwards Work down, Show all steps ax + ay = a(x + y)
Addition Facts
Year 6 mental test 5 second questions
1 Access Control. 2 Objects and Subjects A multi-user distributed computer system offers access to objects such as resources (memory, printers), data.
ZMQS ZMQS
BT Wholesale October Creating your own telephone network WHOLESALE CALLS LINE ASSOCIATED.
ABC Technology Project
1 Generating Network Topologies That Obey Power LawsPalmer/Steffan Carnegie Mellon Generating Network Topologies That Obey Power Laws Christopher R. Palmer.
© S Haughton more than 3?
15. Oktober Oktober Oktober 2012.
1 Directed Depth First Search Adjacency Lists A: F G B: A H C: A D D: C F E: C D G F: E: G: : H: B: I: H: F A B C G D E H I.
Routing and Congestion Problems in General Networks Presented by Jun Zou CAS 744.
I/O and Space-Efficient Path Traversal in Planar Graphs Craig Dillabaugh, Carleton University Meng He, University of Waterloo Anil Maheshwari, Carleton.
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
Geometry Mr. Nealey 7th Grade
Past Tense Probe. Past Tense Probe Past Tense Probe – Practice 1.
1 On c-Vertex Ranking of Graphs Yung-Ling Lai & Yi-Ming Chen National Chiayi University Taiwan.
Addition 1’s to 20.
25 seconds left…...
Test B, 100 Subtraction Facts
Week 1.
We will resume in: 25 Minutes.
CS203 Lecture 15.
A SMALL TRUTH TO MAKE LIFE 100%
1 Unit 1 Kinematics Chapter 1 Day
Foundations of Data Structures Practical Session #7 AVL Trees 2.
Bart Jansen 1.  Problem definition  Instance: Connected graph G, positive integer k  Question: Is there a spanning tree for G with at least k leaves?
Epp, section 10.? CS 202 Aaron Bloomfield
all-pairs shortest paths in undirected graphs
Minimum Vertex Cover in Rectangle Graphs
Succinct Representations of Dynamic Strings Meng He and J. Ian Munro University of Waterloo.
Bioinformatics Programming 1 EE, NCKU Tien-Hao Chang (Darby Chang)
Succinct Data Structures for Permutations, Functions and Suffix Arrays
1 Almost all cop-win graphs contain a universal vertex Anthony Bonato Ryerson University CanaDAM 2011.
Succinct Representation of Balanced Parentheses, Static Trees and Planar Graphs J. Ian Munro & Venkatesh Raman.
Succinct Indexes for Strings, Binary Relations and Multi-labeled Trees Jérémy Barbay, Meng He, J. Ian Munro, University of Waterloo S. Srinivasa Rao, IT.
Chapter 4: Straight Line Drawing Ronald Kieft. Contents Introduction Algorithm 1: Shift Method Algorithm 2: Realizer Method Other parts of chapter 4 Questions?
Space Efficient Data Structures for Dynamic Orthogonal Range Counting Meng He and J. Ian Munro University of Waterloo.
Succinct Geometric Indexes Supporting Point Location Queries Prosenjit Bose, Eric Y. Chen, Meng He, Anil Maheshwari, Pat Morin.
Succinct Orthogonal Range Search Structures on a Grid with Applications to Text Indexing Prosenjit Bose, Carleton University Meng He, Unversity of Waterloo.
Compact Encodings of Graphs Shin-ichi Nakano (Gunma Univ.) Gunma.
Succinct Ordinal Trees Based on Tree Covering Meng He, J. Ian Munro, University of Waterloo S. Srinivasa Rao, IT University of Copenhagen.
Various Orders and Drawings of Plane Graphs Takao Nishizeki Tohoku University.
N u 1 u 2 u Canonical Decomposition. V 8 V 7 V 6 V 5 V 4 V 3 V 2 V 1 n u 1 u 2 u.
LaBRI, Université Bordeaux I
Graph Operations And Representation
Succinct Representation of Labeled Graphs
Graphs G = (V, E) V are the vertices; E are the edges.
Presentation transcript:

1 Succinct Representation of Labeled Graphs Jérémy Barbay, Luca Castelli Aleardi, Meng He, J. Ian Munro

2 Background: Succinct Data Structures  What are succinct data structures  Representing data structures using ideally information-theoretic minimum space  Supporting efficient navigational operations  Jacobson 1989  Why succinct data structures  Large data sets in modern applications: textual, genomic, spatial or geometric  An implementation: Delpratt et al. 2006

3 Motivations and Objectives  Initial Problem: representing unlabeled graphs succinctly  Connectivity information: degree, neighbors, adjacency  Jacobson 89, Munro and Raman 97, Chuang et al. 98, Chiang et al. 01, Castelli Aleardi et al. 05 & 06  New Problem: representing labeled graphs succinctly  Properties of an object is often modeled as labels on vertices or edges  Label-based queries

4 Planar Triangulations  Planar Triangulations: A planar graph whose faces are all triangles  Applications: computer graphics, computational geometry

5 An Example: Terrain and Triangulations Geometric Modeling and Computer Graphics Research Groups, University of Genova

6 Planar Triangulations and Realizers  Planar Triangulation T  Number of vertices: n; number of edges: m  External face: (v 0, v 1, v n-1 )  Realizer (Schnyder 1990)  A partition of the set of internal edges into three set of directed edges T 0, T 1, T 2  the edges incident to any internal vertex v in ccw order are: one outgoing edge in T 0, zero or more incoming edges in T 2, one outgoing edges in T 1, zero or more incoming edges in T 0, one outgoing edge in T 2 and zero or more incoming edges in T 1

7  Property  T 0 is a spanning tree of T / {v 1, v n-1 }  T 1 is a spanning tree of T / {v 0, v n-1 }  T 2 is a spanning tree of T / {v 0, v 1 }  Canonical spanning tree T 0  T 0 with edges (v 0, v 1 ) and (v 0, v n-1 )  Canonical Ordering Planar Triangulations and Realizers (Continued)

8 Realizer: An Example T0T0 T1T1 T2T2

9 Three Traversal Orders on a Planar Triangulations T0T0 T1T1 T2T2 π0π0 π1π1 π2π

Operations on Unlabeled Planar Triangulations  Old operations  adjacency  Degree  New operations  select_neighbor_ccw(x, y, r): the r th neighbor of x staring from y in ccw order if x and y are adjacent  rank_neighbor_ccw(x, y, z): the number of neighbors of vertex x between y and z in ccw order if y and z are neighbors of x  Conversions between the numbers of vertices under π 0, π 1 and π 2

11 Succinct Representation of Unlabeled Planar Triangulations  Observation  For any node x, its children in T 1 (or T 2 ), listed in ccw (or cw) order, have consecutive numbers in π 1 or π 2  Approach  Represent T 0, T 1 and T 2 using different types of parentheses in orders π 0, π 1 and π 2, respectively  Combine the three sequences into a multiple parenthesis sequence  Results  Space: 2m log o(m) bits  Time: O(1)

12 Succinct Unlabeled Planar Triangulations: An Example ( ( [ [ [ [ ) ( ] ( ] ( ] { [ [ ) { ) ( } ] { ) ( } ] { [ [ [ [ ) … … T0T0 π0π0 T2T2 π1π T1T1 adjacency(4,6)=true degree(6)=8 rank_neighbor_ccw(4, 5, 1) =3

13 Vertex Labeled Planar Triangulations  Notion  Number of labels: σ  Number of vertex-label pairs: t  Operations  lab_degree( α,x): number of neighbors of vertex x associated with label α  lab_select_ccw( α,x,y,r): r th vertex labeled α among neighbors of vertex x after vertex y in ccw order if y is a neighbor of x  lab_rank_ccw( α,x,y,z) : number of neighbors of vertex x labeled α between vertices y and z in ccw order if y and z are neighbors of x

14 Vertex Labeled Planar Triangulations: An Example {a,b,c}{c} {b,c} {a,b} {a} {b} {a,b} {a,c} {c} {b} {a,b} {b} lab_degree(a,5)=3 lab_select_ccw(c,6,4,2)=5 lab_rank_ccw(b,6,10,5)=4

15 Succinct Index for Vertex Labeled Triangulations  ADT  node_label: f(n, σ, t) time  Succinct Index  Space: t∙o(lg σ) bits  Time: O((lg lg lg σ) 2 (f(n, σ, t)+lglg σ) time for lab_degree, lab_select_ccw and lab_rank_ccw

16 Succinct Representation of vertex labeled planar triangulations  Space: t lg σ+t∙o(lg σ) bits  Time:  node_label : O(1)  lab_degree, lab_select_ccw and lab_rank_ccw : O((lg lg lg σ) 2 lglg σ)

17 Edge Labeled k-Page Graphs  Notion  Number of labels: σ  Number of edge-label pairs: t  Operations  lab_adjacency( α,x,y): whether there is an edge labeled α between vertices x and y  lab_degree_edge( α,x): the number of edges of vertex x that are labeled α  lab_edges( α,x): the edges of vertex x that are labeled α

18 Edge Labeled k-Page Graphs  Results  Space: kn + t(lg σ + o(lg σ)) bits  Time:  lab_adjacency and lab_degree_edge: O(k lglg σ(lg lg lg σ) 2 )  lab_edges: O(d lglg σ lg lg lg σ+k), where d is the number of such edges

19 More Results  Succinct representation of unlabeled k- page graphs for large k  Succinct representation of edge Labeled k-page graphs for large k  The results on edge labeled k-page graphs also apply to edge labeled planar graphs (k = 4)

20 Conclusions  Summary  First succinct representations of labeled graphs  Two preliminary results on succinct representations of unlabeled graphs  Subsequent Work and Open Problems  Edge labeled planar triangulations (done)  Vertex labeled k-page graphs

21 Thank you!