Shortest Beer Path Queries in Interval Graphs
Abstract
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 bits where is the number of beer vertices. This data structure answers beer distance queries in time for any constant and shortest beer path queries in time, where is the beer distance between the two nodes. We also show that proper interval graphs may be represented using bits to support beer distance queries in time for any and shortest beer path queries in 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 (or about ) bits.
Cite
@article{arxiv.2209.14401,
title = {Shortest Beer Path Queries in Interval Graphs},
author = {Rathish Das and Meng He and Eitan Kondratovsky and J. Ian Munro and Anurag Murty Naredla and Kaiyu Wu},
journal= {arXiv preprint arXiv:2209.14401},
year = {2022}
}
Comments
To appear in ISAAC 2022