Efficient Exact Paths For Dyck and semi-Dyck Labeled Path Reachability

02/14/2018
by   Phillip G. Bradford, et al.
0

The exact path length problem is to determine if there is a path of a given fixed cost between two vertices. This paper focuses on the exact path problem for costs -1,0 or +1 between all pairs of vertices in an edge-weighted digraph. The edge weights are from { -1, +1 }. In this case, this paper gives an O(n^ω) exact path solution. Here ω is the best exponent for matrix multiplication and O is the asymptotic upper-bound mod polylog factors. Variations of this algorithm determine which pairs of digraph nodes have Dyck or semi-Dyck labeled paths between them, assuming two parenthesis. Therefore, determining digraph reachability for Dyck or semi-Dyck labeled paths costs O(n^ω). A path label is made by concatenating all symbols along the path's edges. The exact path length problem has many applications. These applications include the labeled path problems given here, which in turn, also have numerous applications.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/07/2021

An output-sensitive algorithm for all-pairs shortest paths in directed acyclic graphs

A straightforward dynamic programming method for the single-source short...
research
04/24/2019

Faster Algorithms for All Pairs Non-decreasing Paths Problem

In this paper, we present an improved algorithm for the All Pairs Non-de...
research
02/24/2022

Counting Temporal Paths

The betweenness centrality of a vertex v is an important centrality meas...
research
04/25/2023

Towards Generating Hop-constrained s-t Simple Path Graphs

Graphs have been widely used in real-world applications, in which invest...
research
05/13/2023

Network analysis with the aid of the path length matrix

Let a network be represented by a simple graph 𝒢 with n vertices. A comm...
research
08/18/2023

Enhancing multiplex global efficiency

Modeling complex systems that consist of different types of objects lead...
research
12/15/2022

The Complexity of the Shapley Value for Regular Path Queries

A path query extracts vertex tuples from a labeled graph, based on the w...

Please sign up or login with your details

Forgot password? Click here to reset