Towards Generating Hop-constrained s-t Simple Path Graphs

04/25/2023
by   Yuzheng Cai, et al.
0

Graphs have been widely used in real-world applications, in which investigating relations between vertices is an important task. In this paper, we study the problem of generating the k-hop-constrained s-t simple path graph, i.e., the subgraph consisting of all simple paths from vertex s to vertex t of length no larger than k. To our best knowledge, we are the first to formalize this problem and prove its NP-hardness on directed graphs. To tackle this challenging problem, we propose an efficient algorithm named EVE, which exploits the paradigm of edge-wise examination rather than exhaustively enumerating all paths. Powered by essential vertices appearing in all simple paths between vertex pairs, EVE distinguishes the edges that are definitely (or not) contained in the desired simple path graph, producing a tight upper-bound graph in the time cost 𝒪(k^2|E|). Each remaining undetermined edge is further verified to deliver the exact answer. Extensive experiments are conducted on 15 real networks. The results show that EVE significantly outperforms all baselines by several orders of magnitude. Moreover, by taking EVE as a built-in block, state-of-the-art for hop-constrained simple path enumeration can be accelerated by up to an order of magnitude.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/18/2020

Sparse Hop Spanners for Unit Disk Graphs

A unit disk graph G on a given set of points P in the plane is a geometr...
research
03/20/2021

PathEnum: Towards Real-Time Hop-Constrained s-t Path Enumeration

We study the hop-constrained s-t path enumeration (HcPE) problem, which ...
research
12/21/2020

PEFP: Efficient k-hop Constrained s-t Simple Path Enumeration on FPGA

Graph plays a vital role in representing entities and their relationship...
research
04/14/2023

Finding A Path Of Length k: An Expository

Given a graph G(V, E) and a positive integer k (k ≥ 1), a simple path on...
research
02/14/2018

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

The exact path length problem is to determine if there is a path of a gi...
research
10/02/2018

Efficient Fastest-Path Computations in Road Maps

In the age of real-time online traffic information and GPS-enabled devic...
research
04/08/2020

Graph Matching with Partially-Correct Seeds

The graph matching problem aims to find the latent vertex correspondence...

Please sign up or login with your details

Forgot password? Click here to reset