Shortest Beer Path Queries in Outerplanar Graphs

10/29/2021
by   Joyce Bacic, et al.
0

A beer graph is an undirected graph G, in which each edge has a positive weight and some vertices have a beer store. A beer path between two vertices u and v in G is any path in G between u and v that visits at least one beer store. We show that any outerplanar beer graph G with n vertices can be preprocessed in O(n) time into a data structure of size O(n), such that for any two query vertices u and v, (i) the weight of the shortest beer path between u and v can be reported in O(α(n)) time (where α(n) is the inverse Ackermann function), and (ii) the shortest beer path between u and v can be reported in O(L) time, where L is the number of vertices on this path. Both results are optimal, even when G is a beer tree (i.e., a beer graph whose underlying graph is a tree).

READ FULL TEXT

page 1

page 2

page 3

page 4

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
11/02/2017

Optimal Parametric Search for Path and Tree Partitioning

We present linear-time algorithms for partitioning a path or a tree with...
research
06/19/2019

Indexing Graph Search Trees and Applications

We consider the problem of compactly representing the Depth First Search...
research
01/27/2022

Budgeted Steiner Networks: Three Terminals with Equal Path Weights

Given a set of terminals in 2D/3D, the network with the shortest total l...
research
04/06/2017

Landmark Guided Probabilistic Roadmap Queries

A landmark based heuristic is investigated for reducing query phase run-...
research
11/03/2013

An Adaptive Amoeba Algorithm for Shortest Path Tree Computation in Dynamic Graphs

This paper presents an adaptive amoeba algorithm to address the shortest...
research
08/17/2023

Geodetic Graphs: Experiments and New Constructions

In 1962 Ore initiated the study of geodetic graphs. A graph is called ge...

Please sign up or login with your details

Forgot password? Click here to reset