Abstract
A Tai mapping between two rooted labeled trees (trees, for short) is a one-to-one node correspondence preserving ancestors and siblings (if trees are ordered). The variations of the Tai mapping are known to provide a hierarchy, called a Tai mapping hierarchy. In this paper, we characterize the Tai mapping hierarchy as a common subforest by focusing on the connections of nodes and the arrangements of subtrees in a common subforest. Then, we fill a gap in the Tai mapping hierarchy by introducing several new variations. Furthermore, we summarize and investigate the time complexity of computing the variations of the edit distance as the minimum cost of the variations of the Tai mapping.
Similar content being viewed by others
Notes
In the definition of an alignable mapping [9], F is not a forest but a tree, because we can assume that the alignable mapping always contains the pair of the roots of two trees, corresponding to the alignment tree [6]. On the other hand, since the intersection of the alignable mapping to other mappings does not always contain the pair of the roots of two trees, we use a forest F in the definition of an alignable mapping.
References
Akutsu, T., Fukagawa, D., Halldórsson, M.M., Takasu, A., Tanaka, K.: Approximation and parameterized algorithms for common subtrees and edit distance between unordered trees. Theoret. Comput. Sci. 470, 10–22 (2013)
Bille, P.: A survey on tree edit distance and related problems. Theoret. Comput. Sci. 337, 217–239 (2005)
Chawathe, S.S.: Comparing hierarchical data in external memory. Proc. VLDB’99, 90–101 (1999)
Demaine, E.D., Mozes, S., Rossman, B., Weiman, O.: An optimal decomposition algorithm for tree edit distance. ACM Trans. Algo., 6 (2009)
Hirata, K., Yamamoto, Y., Kuboyama, T.: Improved MAX SNP-hard results for finding an edit distance between unordered trees. Proc. CPM 2011. LNCS 6661, 402–415 (2011)
Jiang, T., Wang, L., Zhang, K.: Alignment of trees – an alternative to tree edit. Theoret. Comput. Sci. 143, 137–148 (1995)
Kan, T., Higuchi, S., Hirata, K.: Segmental mapping and distance for rooted ordered labeled trees. Fundamenta Informaticae 132, 1–23 (2014)
Kann, V.: Maximum bounded 3-dimensional matching is MAX SNP-complete. Inform. Process. Lett. 37, 27–35 (1991)
Kuboyama, T.: Matching and Learning in Trees. Ph.D thesis, University of Tokyo (2007)
Lu, C.L., Su, Z.-Y., Yang, C.Y.: A new measure of edit distance between labeled trees, Proc. COCOON’01. LNCS 2108, 338–348 (2001)
Lu, S.-Y.: A tree-to-tree distance and its application to cluster analysis. IEEE Trans. Pattern Anal. Mach. Intell. 1, 219–224 (1979)
Papadimitoriou, C.H., Yannakakis, M.: Optimization, approximation and complexity. J. Comput. System Sci. 43, 425–440 (1991)
Selkow, S.M.: The tree-to-tree editing problem. Inform. Process. Lett. 6, 184–186 (1977)
Tai, K.-C.: The tree-to-tree correction problem. J. ACM 26, 422–433 (1979)
Valiente, G.: An efficient bottom-up distance between trees. Proc. SPIRE’01, 212–219 (2001)
Valiente, G.: Algorithms on Trees and Graphs. Springer (2002)
Wang, J.T.L., Zhang, K.: Finding similar consensus between trees: an algorithm and a distance hierarchy. Pattern Recog. 34, 127–137 (2001)
Yamamoto, Y., Hirara, K., Kuboyama, T.: Tractable and intractable variations of unordered tree edit distance. Internat. J. Found. Comput. Sci. 25, 307–330 (2014)
Zhang, K.: Algorithms for the constrained editing distance between ordered labeled trees and related problems. Pattern Recog. 28, 463–474 (1995)
Zhang, K.: A constrained edit distance between unordered labeled trees. Algorithmica 15, 205–222 (1996)
Zhang, K., Jiang, T.: Some MAX SNP-hard results concerning unordered labeled trees. Inform. Process. Lett. 49, 249–254 (1994)
Zhang, K., Wang, J., Shasha, D.: On the editing distance between undirected acyclic graphs. Internat. J. Found. Comput. Sci. 7, 43–58 (1996)
Acknowledgments
The authors would like to thank Prof. Tetsuji Kuboyama at Gakushuin University, Prof. Kilho Shin at University of Hyogo and Prof. Tetsuhiro Miyahara at Hiroshima City University for fruitful discussion about tree edit distance and its variations. Also they would like to thank anonymous referees of Theory of Computing Systems for valuable comments to revise the submitted version of this paper.
Author information
Authors and Affiliations
Corresponding author
Additional information
This work is partially supported by Grant-in-Aid for Scientific Research 16H02870, 16H01743, 15K12102, 26280085 and 24300060 from the Ministry of Education, Culture, Sports, Science and Technology, Japan.
Rights and permissions
About this article
Cite this article
Yoshino, T., Hirata, K. Tai Mapping Hierarchy for Rooted Labeled Trees Through Common Subforest. Theory Comput Syst 60, 759–783 (2017). https://doi.org/10.1007/s00224-016-9705-1
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00224-016-9705-1