Largest Weight Common Subtree Embeddings with Distance Penalties

05/02/2018
by   Andre Droschinsky, et al.
0

The largest common embeddable subtree problem asks for the largest possible tree embeddable into two input trees and generalizes the classical maximum common subtree problem. Several variants of the problem in labeled and unlabeled rooted trees have been studied, e.g., for the comparison of evolutionary trees. We consider a generalization, where the sought embedding is maximal with regard to a weight function on pairs of labels. We support rooted and unrooted trees with vertex and edge labels as well as distance penalties for skipping vertices. This variant is important for many applications such as the comparison of chemical structures and evolutionary trees. Our algorithm computes the solution from a series of bipartite matching instances, which are solved efficiently by exploiting their structural relation and imbalance. Our analysis shows that our approach improves or matches the running time of the formally best algorithms for several problem variants. Specifically, we obtain a running time of O(|T| |T'|Δ) for two rooted or unrooted trees T and T', where Δ={Δ(T),Δ(T')} with Δ(X) the maximum degree of X. If the weights are integral and at most C, we obtain a running time of O(|T| |T'|√(Δ) (C{|T|,|T'|})) for rooted trees.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/17/2020

A Scaling Algorithm for Weighted f-Factors in General Graphs

We study the maximum weight perfect f-factor problem on any general simp...
research
06/20/2022

Finding k-Secluded Trees Faster

We revisit the k-Secluded Tree problem. Given a vertex-weighted undirect...
research
01/14/2001

An Even Faster and More Unifying Algorithm for Comparing Trees via Unbalanced Bipartite Matchings

A widely used method for determining the similarity of two labeled trees...
research
02/25/2019

Optimal Distributed Covering Algorithms

We present a time-optimal deterministic distributed algorithm for approx...
research
05/05/2023

Fast Dynamic Programming in Trees in the MPC Model

We present a deterministic algorithm for solving a wide range of dynamic...
research
12/23/2017

Cartesian trees and Lyndon trees

The article describes the structural and algorithmic relations between C...
research
10/22/2021

Testing network correlation efficiently via counting trees

We propose a new procedure for testing whether two networks are edge-cor...

Please sign up or login with your details

Forgot password? Click here to reset