New and Improved Algorithms for Unordered Tree Inclusion
Tatsuya Akutsu, Jesper Jansson, Ruiming Li, Atsuhiro Takasu, Takeyuki, Tamura

TL;DR
This paper introduces a new algorithm for the unordered tree inclusion problem that significantly improves the exponential factor in its runtime, enabling more efficient pattern matching in unordered trees.
Contribution
The authors develop a novel dynamic programming algorithm that reduces the exponential complexity from 2^{2d} to 2^d, advancing the computational efficiency for unordered tree inclusion.
Findings
New algorithm runs in O(2^d mn^2) time, improving previous methods.
The approach considers specific ancestor-descendant relationships for efficiency.
Restricted variants of the problem are also analyzed.
Abstract
The tree inclusion problem is, given two node-labeled trees and (the ``pattern tree'' and the ``target tree''), to locate every minimal subtree in (if any) that can be obtained by applying a sequence of node insertion operations to . Although the ordered tree inclusion problem is solvable in polynomial time, the unordered tree inclusion problem is NP-hard. The currently fastest algorithm for the latter is a classic algorithm by Kilpel\"{a}inen and Mannila from 1995 that runs in time, where and are the sizes of the pattern and target trees, respectively, and is the degree of the pattern tree. Here, we develop a new algorithm that runs in time, improving the exponential factor from to by considering a particular type of ancestor-descendant relationships that is suitable for dynamic programming. We also study…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Complexity and Algorithms in Graphs · Optimization and Search Problems
