Graphs cannot be indexed in polynomial time for sub-quadratic time string matching, unless SETH fails

被引:1
|
作者
Equi, Massimo [1 ]
Makinen, Veli [1 ]
Tomescu, Alexandru I. [1 ]
机构
[1] Univ Helsinki, Dept Comp Sci, Pieteri Kalmin Katu 5, Helsinki 00560, Finland
基金
欧盟地平线“2020”; 芬兰科学院; 欧洲研究理事会;
关键词
Exact pattern matching; Indexing; Orthogonal vectors; Complexity theory; Reductions; Lower bounds; Edit distance; Graph query; Frechet distance; Subtree isomorphism; DISTANCE; ALGORITHM;
D O I
10.1016/j.tcs.2023.114128
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The string matching problem on a node-labeled graph G = (V, E) asks whether a given pattern string P equals the concatenation of node labels of some path in G. This is a basic primitive in various problems in bioinformatics, graph databases, or networks, and it was recently proven that solving it in time O(|E|(1-epsilon)|P|) or O(|E||P|(1-epsilon)) is hard under OVH, the Orthogonal Vectors Hypothesis, and thus under SETH, the Strong Exponential Time Hypothesis (Equi et al., 2019 [11]). We consider its indexed version, where the graph is indexed to support string queries. We show that, under OVH, no polynomial-time index of the graph performed in time O(|E|(alpha)) can support querying P in time O(|P| + |E|(delta)|P|(beta)), with either delta < 1 or beta < 1. We present our techniques as a general framework, introducing the notion of linear independent-components (lic) reduction, from which we derive our result. This allows us to also translate the quadratic conditional lower bound of Backurs and Indyk (2015) [48] for the problem of matching a query string inside a text, under edit distance, into an analogous tight quadratic lower bound for its indexed version. This improves the recent result of Cohen-Addad, Feuilloley and Starikovskaya (2019) [49], with a slightly different boundary condition. We also apply our technique to obtain the first quadratic indexing lower bounds for Frechet distance and rooted unlabeled subtree-isomorphism queries. (c) 2023 The Author(s). Published by Elsevier B.V. This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/).
引用
收藏
页数:14
相关论文
共 29 条