Largest common subgraph of two forests
DRDieter RautenbachFlorian Werner
DRDieter Rautenbach
Florian Werner
+2
The paper gives a 4-approximation algorithm for the largest common subgraph of two forests, a problem NP-hard even for unions of paths. It further shows that for any fixed $\epsilon \in (0,1)$ and forests $F_1,F_2$ of order $n$, a common subgraph with at least $\operatorname{lcs}(F_1,F_2)-\epsilon n$ edges can be found in polynomial time, yielding a PTAS for instances with $\operatorname{lcs}(F_1,F_2) \ge cn$. The method approximates forests by simpler forests built from $O(\log n)$ different starlike rooted trees and uses iterative quantization of solution options.

arXiv ·
· March 6, 2024