Evaluating regular path queries under the all-shortest paths semantics

04/23/2022
by   Domagoj Vrgoč, et al.
0

The purpose of this report is to explain how the textbook breadth-first search algorithm (BFS) can be modified in order to also create a compact representation of all shortest paths connecting a single source node to all the nodes reachable from it. From this representation, all these paths can also be efficiently enumerated. We then apply this algorithm to solve a similar problem in edge labelled graphs, where paths also have an additional restriction that their edge labels form a word belonging to a regular language. Namely, we solve the problem of evaluating regular path queries (RPQs) under the all-shortest paths semantics.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/03/2023

Evaluating Regular Path Queries in GQL and SQL/PGQ: How Far Can The Classical Algorithms Take Us?

We tackle the problem of answering regular path queries over graph datab...
research
10/06/2017

Enumeration Problems for Regular Path Queries

Evaluation of regular path queries (RPQs) is a central problem in graph ...
research
11/07/2022

Partially Disjoint k Shortest Paths

A solution of the k shortest paths problem may output paths that are ide...
research
01/22/2019

Solve For Shortest Paths Problem Within Logarithm Runtime

The Shortest Paths Problem (SPP) is no longer unresolved. Just for a lar...
research
07/27/2023

Evaluating Regular Path Queries on Compressed Adjacency Matrices

Regular Path Queries (RPQs), which are essentially regular expressions t...
research
04/25/2018

On the Structure of Unique Shortest Paths in Graphs

This paper develops a structural theory of unique shortest paths in real...
research
07/20/2020

A Survey of Algorithms for Geodesic Paths and Distances

Numerical computation of shortest paths or geodesics on curved domains, ...

Please sign up or login with your details

Forgot password? Click here to reset