计算机科学 > 数据结构与算法
[提交于 2026年2月8日 (v1),最后修订于 2026年11月25日 (此版本, v2)]
标题:Space Complexity Dichotomies for Subgraph Finding Problems in the Streaming Model
查看中文 PDF 查看原文 PDF EasyResearch 阅读摘要:We study the space complexity of four variants of the standard subgraph finding problem in the streaming model. Specifically, given an $n$-vertex input graph and a fixed pattern graph on at least three vertices, we consider two settings: undirected simple graphs, denoted by $G$ and $H$, and oriented graphs, denoted by $\vec{G}$ and $\vec{H}$. Depending on the setting, the task is to decide whether $G$ contains $H$ as a subgraph or as an induced subgraph, or whether $\vec{G}$ contains $\vec{H}$ as a subgraph or as an induced subgraph. Let $\textsc{Sub}(H)$, $\textsc{IndSub}(H)$, $\textsc{Sub}(\vec{H})$, and $\textsc{IndSub}(\vec{H})$ denote these four variants, respectively. An oriented graph is well-oriented if it admits a bipartition in which every arc is oriented from the same part to the other, and a vertex is internal if both its in-degree and out-degree are non-zero. For each variant, we obtain a complete dichotomy theorem, briefly summarized as follows. \begin{itemize} \item $\textsc{Sub}(H)$ can be solved by an $\tilde{O}(1)$-pass $n^{2-\Omega(1)}$-space algorithm if and only if $H$ is bipartite. \item $\textsc{IndSub}(H)$ can be solved by an $\tilde{O}(1)$-pass $n^{2-\Omega(1)}$-space algorithm if and only if $H$ is $P_3$, $P_4$, or $\mbox{co-}P_3$. \item $\textsc{Sub}(\vec{H})$ can be solved by a deterministic single-pass $n^{2-\Omega(1)}$-space algorithm if and only if every connected component of $\vec H$ is either a well-oriented bipartite graph or a tree containing at most one internal vertex. \item $\textsc{IndSub}(\vec{H})$ can be solved by an $\tilde{O}(1)$-pass $n^{2-\Omega(1)}$-space algorithm if and only if the underlying undirected simple graph $H$ is a $\mbox{co-}P_3$. \end{itemize} All our upper bounds are attained by deterministic algorithms that find a copy, whereas all our lower bounds hold even for randomized algorithms that only detect one.S
提交历史
来自:Yu-Sheng Shih[v1] 2026年2月8日 星期日 15:04:05 UTC (535 KB)
[v2] 2026年11月25日 星期三 05:31:46 UTC (494 KB)