Adjacency labeling schemes and induced-universal graphs

Slides:



Advertisements
Similar presentations
The Primal-Dual Method: Steiner Forest TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A AA A A A AA A A.
Advertisements

Weighted Matching-Algorithms, Hamiltonian Cycles and TSP
Min-Max Relations, Hall’s Theorem, and Matching-Algorithms Graphs & Algorithms Lecture 5 TexPoint fonts used in EMF. Read the TexPoint manual before you.
Distance and Routing Labeling Schemes in Graphs
Introduction to Kernel Lower Bounds Daniel Lokshtanov.
Bipartite Matching, Extremal Problems, Matrix Tree Theorem.
QuickSort Average Case Analysis An Incompressibility Approach Brendan Lucier August 2, 2005.
Small Subgraphs in Random Graphs and the Power of Multiple Choices The Online Case Torsten Mütze, ETH Zürich Joint work with Reto Spöhel and Henning Thomas.
Edge-Coloring of Graphs On the left we see a 1- factorization of  5, the five-sided prism. Each factor is respresented by its own color. No edges of the.
GOLOMB RULERS AND GRACEFUL GRAPHS
Noga Alon Institute for Advanced Study and Tel Aviv University
1 Maximum matching in graphs with an excluded minor Raphael Yuster University of Haifa Uri Zwick Tel Aviv University TexPoint fonts used in EMF. Read the.
Applied Combinatorics, 4th Ed. Alan Tucker
1 List Coloring and Euclidean Ramsey Theory TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A A Noga Alon, Tel Aviv.
Coloring the edges of a random graph without a monochromatic giant component Reto Spöhel (joint with Angelika Steger and Henning Thomas) TexPoint fonts.
Applied Combinatorics, 4th Ed. Alan Tucker
What is the next line of the proof? a). Let G be a graph with k vertices. b). Assume the theorem holds for all graphs with k+1 vertices. c). Let G be a.
Lists A list is a finite, ordered sequence of data items. Two Implementations –Arrays –Linked Lists.
1 Finding cycles using rectangular matrix multiplication and dynamic programming Raphael Yuster Haifa Univ. - Oranim Uri Zwick Tel Aviv University Uri.
Avoiding Monochromatic Giants in Edge-Colorings of Random Graphs Henning Thomas (joint with Reto Spöhel, Angelika Steger) TexPoint fonts used in EMF. Read.
1 Approximate Distance Oracles Mikkel Thorup AT&T Research Uri Zwick Tel Aviv University.
Michael Bender - SUNY Stony Brook Dana Ron - Tel Aviv University Testing Acyclicity of Directed Graphs in Sublinear Time.
Is the following graph Hamiltonian- connected from vertex v? a). Yes b). No c). I have absolutely no idea v.
Small Subgraphs in Random Graphs and the Power of Multiple Choices The Online Case Torsten Mütze, ETH Zürich Joint work with Reto Spöhel and Henning Thomas.
Applied Discrete Mathematics Week 12: Trees
K-Coloring k-coloring: A k-coloring of a graph G is a labeling f: V(G)  S, where |S|=k. The labels are colors; the vertices of one color form a color.
K-Coloring k-coloring: A k-coloring of a graph G is a labeling f: V(G)  S, where |S|=k. The labels are colors; the vertices of one color form a color.
9.2 Graph Terminology and Special Types Graphs
 Jim has six children.  Chris fights with Bob,Faye, and Eve all the time; Eve fights (besides with Chris) with Al and Di all the time; and Al and Bob.
Online Ramsey Games in Random Graphs Reto Spöhel, ETH Zürich Joint work with Martin Marciniszyn and Angelika Steger TexPoint fonts used in EMF. Read the.
1 Universality, Tolerance, Chaos and Order Noga Alon, Tel Aviv University Szemerédi’s Conference Budapest, August 2010.
Graph Pegging By Jason Counihan. The Rules of Pegging We start with a graph, such as this graph representation a cube. –Graphs are made of vertices (dots)
Edge-disjoint induced subgraphs with given minimum degree Raphael Yuster 2012.
Fan-planar Graphs: Combinatorial Properties and Complexity results Carla Binucci, Emilio Di Giacomo, Walter Didimo, Fabrizio Montecchiani, Maurizio Patrignani,
Uri Zwick Tel Aviv University Simple Stochastic Games Mean Payoff Games Parity Games TexPoint fonts used in EMF. Read the TexPoint manual before you delete.
Week 11 - Monday.  What did we talk about last time?  Binomial theorem and Pascal's triangle  Conditional probability  Bayes’ theorem.
Data Structures & Algorithms Graphs
Chapter 10 Graph Theory Eulerian Cycle and the property of graph theory 10.3 The important property of graph theory and its representation 10.4.
An Introduction to Graph Theory
Graph Theory and Applications
Graphs. Graphs Similar to the graphs you’ve known since the 5 th grade: line graphs, bar graphs, etc., but more general. Those mathematical graphs are.
Introduction to Graph Theory
Implicit Representation of Graphs Paper by Sampath Kannan, Moni Naor, Steven Rudich.
Great Theoretical Ideas in Computer Science for Some.
Algorithms for hard problems Parameterized complexity Bounded tree width approaches Juris Viksna, 2015.
C&O 355 Lecture 19 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A A A A A A A A.
Week 11 - Wednesday.  What did we talk about last time?  Graphs  Paths and circuits.
Trees.
Matrix Representation of Graphs
Applied Discrete Mathematics Week 13: Graphs
Proof technique (pigeonhole principle)
Copyright © Zeph Grunschlag,
The countable character of uncountable graphs François Laviolette Barbados 2003.
Applied Combinatorics, 4th Ed. Alan Tucker
Haim Kaplan and Uri Zwick
David Wilson – Microsoft Research Uri Zwick – Tel Aviv Univ.
Selection in heaps and row-sorted matrices
Bart M. P. Jansen June 3rd 2016, Algorithms for Optimization Problems
Analysis of Algorithms
Uri Zwick – Tel Aviv Univ.
3.5 Minimum Cuts in Undirected Graphs
Lectures on Graph Algorithms: searching, testing and sorting
Graph Operations And Representation
Uri Zwick Tel Aviv University
Raphael Yuster Haifa University Uri Zwick Tel Aviv University
Applied Combinatorics, 4th Ed. Alan Tucker
Discrete Mathematics for Computer Science
Distance-preserving Subgraphs of Interval Graphs
Treewidth meets Planarity
Presentation transcript:

Adjacency labeling schemes and induced-universal graphs “How to save lg n bits’’ Stephen Alstrup – Univ. of Copenhagen Haim Kaplan – Tel Aviv Univ. Mikkel Thorup – Univ. of Copenhagen Uri Zwick – Tel Aviv Univ. June 1, 2014 TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAAA

Adjacency labeling schemes An L-bit adjacency labeling scheme for a family F of n-vertex graphs is a pair of functions: Label: receives a graph G from F and assigns each of its vertices an L-bit label Edge: receives two L-bit labels and decides whether the corresponding vertices are adjacent Note that Edge only sees labels. It does not know the graph G, nor the identity of the vertices

Adjacency labeling schemes Family Lower bound Upper bound Reference Directed graphs n n + lg n folklore Undirected graphs n/2 n/2 + lg n Moon (1966) Bipartite graphs n/4 n/4 + 2 lg n Lozin-Rudolf (2007) Max deg d (even) (d/2) lg n (d/2) lg n + O(1) Butler (2009) Max deg d (odd) Alon-Capalbo (????) Planar graphs lg n 2 lg n + O(lglg n) Gavoille-Labourel (2007) Trees lg n + O(lg*n) Alstrup-Rauhe (2002) Trees of depth d lg n + 3 lg d + O(1) Fraigniaud-Korman (2010) We improve the first three upper bounds to n+O(1), n/2+O(1) and n/4+O(1), respectively

Induced-universal graphs A graph G is an induced-universal graph for a family F iff every graph from F is an induced-subgraph of G Theorem: [Kannan-Naor-Rudich (1992)] F has an L-bit adjacency labeling scheme iff it has an induced-universal graph on at most 2L vertices Proof: Easy! Each possible L-bit label is a vertex of the universal graph Edge determines the edges in the induced-universal graph

Trivial lower bound Theorem: [Moon (1966)] Any adjacency labeling scheme for a family F of (named) n-vertex graphs must have L > (lg |F|)/n (Named (labeled) graphs are graphs on V={1,2,…,n}) Proof: Again easy! The labels assigned to all vertices determine the graph Number of possible label assignments to vertices is 2nL Hence |F| ≤ 2nL Exercise: Prove a strict inequality

Trivial lower bound Theorem: [Moon (1966)] Any adjacency labeling scheme for a family F of (named) n-vertex graphs must have L > (lg |F|)/n There are 2n(n1) directed graphs on n vertices  L ≥ n There are 2n(n1)/2 undirected graphs on n vertices  L ≥ n/2 Essentially all lower bounds follow from this theorem

Induced-universal graphs for undirected graphs Size Reference O(n2n/2) Moon (1966) O(n22n/2) Bollobás-Thomasen (1981) O(2n/2) here

Trivial upper bound for directed graphs An n-vertex directed graph corresponds to an n by n Boolean matrix (known as its adjacency matrix) Let the tag of a vertex be its row in the adjacency matrix Given the tags of two vertices, we can determine whether there is an edge from the first to the second Not really! Tags are not enough, we also need the indices of the vertices. label = ( index , tag ) The trivial upper bound is thus, L = n + lg n − 1 We improve this to L = n + O(1)

Upper bound for undirected graphs [Moon (1965)] Arrange the n vertices of the undirected graph in a cycle The tag of a vertex is its adjacencies to the n/2 vertices following it on the cycle

Upper bound for undirected graphs [Moon (1965)] 1 tag(0) = 101011 11 2 10 3 9 4 8 5 7 6

Upper bound for undirected graphs [Moon (1965)] 1 tag(0) = 101011 11 2 tag(1) = 001101 … 10 3 9 4 8 5 7 6

Upper bound for undirected graphs [Moon (1965)] Arrange the n vertices of the undirected graph in a circle Let the tag of a vertex is its adjacencies to the n/2 vertices following it on the cycle Given the tags and indices of two vertices, we can determine whether they are adjacent label = ( index , tag ) Moon’s upper bound is thus, L = n/2 + lg n We improve this to L = n/2 + 4

Trick 1: Run length encoding Representing unbalanced bipartite graphs k < lg n n Main idea: Reorder the columns so that rows, and especially the first ones, are composed of a small number of runs Note: The n vertices are still given indices, but we use the freedom to choose these indices

Sort the columns! The i-th row composed of at most 2i runs k < lg n 1 The i-th row composed of at most 2i runs Number of bits needed to represent the i-th row is

Slightly better: Use Gray code! n k < lg n 1 The i-th row now composed of at most 2i−1+1 runs Number of bits needed to represent the i-th row is Saves a bit…

n/2+(lg n)/2+O(1) for undirected graphs B k = lg n − c n − k Use Trick 1 to represent AB This assigns indices to vertices of B Use Moon to represent edges within A and within B First improvement over Moon. Still some slack…

Trick 2: Spreading Unbalanced representation of bipartite graphs We can split the bits of AB in any fixed manner, not depending on the graph itself

Trick 2: Spreading Unbalanced representation of bipartite graphs We can let the vertices of A have all the bits

Trick 2: Spreading Unbalanced representation of bipartite graphs We can let the vertices of B have all the bits

Trick 2: Spreading Unbalanced representation of bipartite graphs We can split the bits as evenly as possible In particular, if |A|=|B|=n/2, we get a labeling scheme for balanced bipartite graphs with L = n/4 + lg n

Trick 2: Spreading Unbalanced representation of bipartite graphs

n + O(1) for directed graphs B Use Trick 1 to represent AB This assigns indices to vertices of B (Cannot use Trick 1 again to represent BA) Use Trick 2, with bi = li + k, to represent BA Et voilà !

n/2 + O(1) for undirected graphs B0 A1 B1 Et voilà !

Concluding remarks Our essentially optimal adjacency labeling schemes yield essentially optimal induced-universal graphs Using a few more tricks we get down to n+3 for directed graphs, and n/2+4 for undirected graphs More work needed for bipartite graphs, when the size of the sides is not fixed in advance Small additive gaps remain Improved lower bounds? All our schemes still assign vertices unique indices Not clear whether this is needed Optimal labeling schemes for other families? (E.g., graphs excluding a fixed minor, planar graphs, outerplanar graphs, bounded tree width, trees, etc.)