A Dijkstra-Based Efficient Algorithm for Finding a Shortest Non-zero Path in Group-Labeled Graphs

06/10/2019
by   Yutaro Yamaguchi, et al.
0

The parity constrained shortest path problem is a well-known variant that is tractable via weighted matching if a graph is undirected and has nonnegative edge length. As a generalization, we focus on the problem of finding a shortest non-zero path between two specified vertices s and t in a given group-labeled graph. For the case when the group Γ in question is finite and abelian, Kobayashi and Toyooka (2017) proposed a randomized, pseudopolynomial-time algorithm via permanent computation. For a slightly more general case when Γ is finitely generated and abelian, Yamaguchi (2016) showed a reduction of the problem to the weighted linear matroid parity problem. In particular, some cases are solved in strongly polynomial time via the reduction with the aid of a deterministic, polynomial-time algorithm for the weighted linear matroid parity problem due to Iwata and Kobayashi (2017), which generalizes the aforementioned fact that the parity constrained shortest path problem in undirected graphs is solved via weighted matching. In this paper, as the first general solution independently of the group Γ, we present a rather simple, deterministic, and strongly polynomial-time algorithm for the shortest non-zero path problem in group-labeled graphs. The basic strategy is as follows: we first compute a shortest path tree rooted at s, and if the unique s--t path in the tree is not non-zero, then we find a shortest s--t path among those who have different labels. The former part is done just by Dijkstra's algorithm, and the key technique in the latter part is like Edmonds' blossom shrinking algorithm for matching problems.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/10/2019

A Strongly Polynomial Algorithm for Finding a Shortest Non-zero Path in Group-Labeled Graphs

Finding a shortest path or cycle in graphs is a fundamental problem. In ...
research
06/30/2018

Finding a Path in Group-Labeled Graphs with Two Labels Forbidden

The parity of the length of paths and cycles is a classical and well-stu...
research
05/31/2019

A Weighted Linear Matroid Parity Algorithm

The matroid parity (or matroid matching) problem, introduced as a common...
research
04/28/2022

The Power of Media Agencies in Ad Auctions: Improving Utility through Coordinated Bidding

The increasing competition in digital advertising induced a proliferatio...
research
09/05/2019

Efficient Optimal Planning in non-FIFO Time-Dependent Flow Fields

We propose an algorithm for solving the time-dependent shortest path pro...
research
10/03/2021

Deep Neural Matching Models for Graph Retrieval

Graph Retrieval has witnessed continued interest and progress in the pas...
research
04/15/2023

Computing shortest 12-representants of labeled graphs

The notion of 12-representable graphs was introduced as a variant of a w...

Please sign up or login with your details

Forgot password? Click here to reset