Subtree Isomorphism: Difference between revisions

From Algorithm Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 12: Line 12:
== Parameters ==  
== Parameters ==  


n: number of vertices in the larger tree
$n$: number of vertices in the larger graph


== Table of Algorithms ==  
== Table of Algorithms ==  

Latest revision as of 08:23, 10 April 2023

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 graph

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