Largest common subgraph of two forests
Abstract
A common subgraph of two graphs and is a graph that is isomorphic to subgraphs of and . In the largest common subgraph problem the task is to determine a common subgraph for two given graphs and that is of maximum possible size . This natural problem generalizes the well-studied graph isomorphism problem, has many applications, and remains NP-hard even restricted to unions of paths. We present a simple -approximation algorithm for forests, and, for every fixed , we show that, for two given forests and of order at most , one can determine in polynomial time a common subgraph of and with at least edges. Restricted to instances with for some fixed positive , this yields a polynomial time approximation scheme. Our approach relies on the approximation of the given forests by structurally simpler forests that are composed of copies of only different starlike rooted trees and iterative quantizations of the options for the solutions.
Cite
@article{arxiv.2403.03696,
title = {Largest common subgraph of two forests},
author = {Dieter Rautenbach and Florian Werner},
journal= {arXiv preprint arXiv:2403.03696},
year = {2024}
}