Subtree Isomorphism (Graph Isomorphism Problem)

From Algorithm Wiki
Revision as of 10:24, 15 February 2023 by Admin (talk | contribs) (Created page with "{{DISPLAYTITLE:Subtree Isomorphism (Graph Isomorphism Problem)}} == Description == Determine whether a given tree is contained within another tree. == Related Problems == Generalizations: Largest Common Subtree Related: Graph Isomorphism, General Graphs, Graph Isomorphism, Bounded Number of Vertices of Each Color, Graph Isomorphism, Trivalent Graphs, Graph Isomorphism, Bounded Vertex Valences == Parameters == <pre>n: number of vertices in the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Determine whether a given tree is contained within another tree.

Related Problems

Generalizations: Largest Common Subtree

Related: Graph Isomorphism, General Graphs, Graph Isomorphism, Bounded Number of Vertices of Each Color, Graph Isomorphism, Trivalent Graphs, Graph Isomorphism, Bounded Vertex Valences

Parameters

n: number of vertices in the larger tree

Table of Algorithms

Name Year Time Space Approximation Factor Model Reference
McKay 1981 $O((m1 + m2)n^{3} + m2 n^{2} L)$ ${2}mn+{10}n+m+(m+{4})K+{2}mL$ Exact Deterministic Time
Schmidt & Druffel 1976 $O(n*n!)$ $O(n^{2})$ Exact Deterministic Time
Babai 2017 {2}^{$O(\log n)$^3} Exact Deterministic Time

Reductions FROM Problem

Problem Implication Year Citation Reduction
OV assume: OVH
then: for all $d \geq {2}$, target on two rooted unordered trees of size $O(n)$, degree $d$, and height $h \leq {2}\log_d n + O(\log \log n)$ cannot be solved in truly subquadratic $O(n^{2-\epsilon})$ time
2018 https://dl-acm-org.ezproxy.canberra.edu.au/doi/pdf/10.1145/3093239 link