paper

Shortest Beer Path Queries in Interval Graphs

arXiv:2209.14401

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.

To appear in ISAAC 2022

Shortest Beer Path Queries in Interval Graphs · wovepaper