Shortest Beer Path Queries based on Graph Decomposition

07/06/2023
by   Tesshu Hanaka, et al.
0

Given a directed edge-weighted graph G=(V, E) with beer vertices B⊆ V, a beer path between two vertices u and v is a path between u and v that visits at least one beer vertex in B, and the beer distance between two vertices is the shortest length of beer paths. We consider indexing problems on beer paths, that is, a graph is given a priori, and we construct some data structures (called indexes) for the graph. Then later, we are given two vertices, and we find the beer distance or beer path between them using the data structure. For such a scheme, efficient algorithms using indexes for the beer distance and beer path queries have been proposed for outerplanar graphs and interval graphs. For example, Bacic et al. (2021) present indexes with size O(n) for outerplanar graphs and an algorithm using them that answers the beer distance between given two vertices in O(α(n)) time, where α(·) is the inverse Ackermann function; the performance is shown to be optimal. This paper proposes indexing data structures and algorithms for beer path queries on general graphs based on two types of graph decomposition: the tree decomposition and the triconnected component decomposition. We propose indexes with size O(m+nr^2) based on the triconnected component decomposition, where r is the size of the largest triconnected component. For a given query u,v∈ V, our algorithm using the indexes can output the beer distance in query time O(α(m)). In particular, our indexing data structures and algorithms achieve the optimal performance (the space and the query time) for series-parallel graphs, which is a wider class of outerplanar graphs.

READ FULL TEXT

page 20

page 22

page 23

page 24

research
10/29/2021

Shortest Beer Path Queries in Outerplanar Graphs

A beer graph is an undirected graph G, in which each edge has a positive...
research
09/28/2022

Shortest Beer Path Queries in Interval Graphs

Our interest is in paths between pairs of vertices that go through at le...
research
05/10/2018

Haplotype-aware graph indexes

The variation graph toolkit (VG) represents genetic variation as a graph...
research
10/10/2018

Understanding Data Science Lifecycle Provenance via Graph Segmentation and Summarization

Increasingly modern data science platforms today have non-intrusive and ...
research
10/30/2019

Use of R-trees to improve reconstruction time in pixel trackers

Computing time is becoming a key issue for tracking algorithms both onli...
research
06/19/2019

Indexing Graph Search Trees and Applications

We consider the problem of compactly representing the Depth First Search...
research
04/06/2020

DySky: Dynamic Skyline Queries on Uncertain Graphs

Given a graph, and a set of query vertices (subset of the vertices), the...

Please sign up or login with your details

Forgot password? Click here to reset