English

Anti Tai Mapping for Unordered Labeled Trees

Data Structures and Algorithms 2021-07-20 v1 Discrete Mathematics

Abstract

The well-studied Tai mapping between two rooted labeled trees T1(V1,E1)T_1(V_1, E_1) and T2(V2,E2)T_2(V_2, E_2) defines a one-to-one mapping between nodes in T1T_1 and T2T_2 that preserves ancestor relationship. For unordered trees the problem of finding a maximum-weight Tai mapping is known to be NP-complete. In this work, we define an anti Tai mapping MV1×V2M\subseteq V_1\times V_2 as a binary relation between two unordered labeled trees such that any two (x,y),(x,y)M(x,y), (x', y')\in M violate ancestor relationship and thus cannot be part of the same Tai mapping, i.e. (xx    y≰y)(xx    y≰y)(x\le x' \iff y\not \le y') \vee (x'\le x \iff y'\not \le y), given an ancestor order x<xx<x' meaning that xx is an ancestor of xx'. Finding a maximum-weight anti Tai mapping arises in the cutting plane method for solving the maximum-weight Tai mapping problem via integer programming. We give an efficient polynomial-time algorithm for finding a maximum-weight anti Tai mapping for the case when one of the two trees is a path and further show how to extend this result in order to provide a polynomially computable lower bound on the optimal anti Tai mapping for two unordered labeled trees. The latter result stems from the special class of anti Tai mapping defined by the more restricted condition xx    y≁yx\sim x' \iff y\not\sim y', where \sim denotes that two nodes belong to the same root-to-leaf path. For this class, we give an efficient algorithm that solves the problem directly on two unordered trees in O(V12V22)O(|V_1|^2|V_2|^2).

Cite

@article{arxiv.2107.08292,
  title  = {Anti Tai Mapping for Unordered Labeled Trees},
  author = {Mislav Blažević and Stefan Canzar and Khaled Elbassioni and Domagoj Matijević},
  journal= {arXiv preprint arXiv:2107.08292},
  year   = {2021}
}
R2 v1 2026-06-24T04:17:17.749Z