Shortest Beer Path Queries in Interval Graphs

09/28/2022
by   Rathish Das, et al.
0

Our interest is in paths between pairs of vertices that go through at least one of a subset of the vertices known as beer vertices. Such a path is called a beer path, and the beer distance between two vertices is the length of the shortest beer path. We show that we can represent unweighted interval graphs using 2n log n + O(n) + O(|B|log n) bits where |B| is the number of beer vertices. This data structure answers beer distance queries in O(log^ε n) time for any constant ε > 0 and shortest beer path queries in O(log^ε n + d) time, where d is the beer distance between the two nodes. We also show that proper interval graphs may be represented using 3n + o(n) bits to support beer distance queries in O(f(n)log n) time for any f(n) ∈ω(1) and shortest beer path queries in O(d) time. All of these results also have time-space trade-offs. Lastly we show that the information theoretic lower bound for beer proper interval graphs is very close to the space of our structure, namely log(4+2√(3))n - o(n) (or about 2.9 n) bits.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/30/2020

Truly Subquadratic Exact Distance Oracles with Constant Query Time for Planar Graphs

Given an undirected, unweighted planar graph G with n vertices, we prese...
research
02/25/2019

Succinct Data Structures for Families of Interval Graphs

We consider the problem of designing succinct data structures for interv...
research
07/06/2023

Shortest Beer Path Queries based on Graph Decomposition

Given a directed edge-weighted graph G=(V, E) with beer vertices B⊆ V, a...
research
05/15/2020

Breadth-First Rank/Select in Succinct Trees and Distance Oracles for Interval Graphs

We present the first succinct data structure for ordinal trees that supp...
research
07/04/2023

An Optimal Multiple-Class Encoding Scheme for a Graph of Bounded Hadwiger Number

Since Jacobson [FOCS89] initiated the investigation of succinct graph en...
research
05/30/2019

Compact Data Structures for Shortest Unique Substring Queries

Given a string T of length n, a substring u = T[i.. j] of T is called a ...
research
10/08/2020

Succinct Permutation Graphs

We present a succinct, i.e., asymptotically space-optimal, data structur...

Please sign up or login with your details

Forgot password? Click here to reset