Abstract
A rooted labeled caterpillar (caterpillars, for short) is a rooted labeled tree transformed to a rooted path after removing all the leaves in it. In this paper, we discuss the alignment distance between two caterpillars, which is formulated as the minimum cost of possible alignments as supertrees of them. First, we point out that, whereas the alignment between two trees is always a tree, the alignment between two caterpillars is not always a caterpillar. Then, we formulate a caterpillar alignment distance such that the alignment is required to be a caterpillar. Also we formulate a caterpillar less-constrained mapping and show that the caterpillar alignment distance coincides with the minimum cost of possible caterpillar less-constrained mappings. Furthermore, we design the algorithm to compute the caterpillar alignment distance between two caterpillars in \(O(h^2\lambda ^3)\) time under the general cost function and in \(O(h^2\lambda )\) time under the unit cost function, where h is the maximum height and \(\lambda \) is the maximum number of leaves in caterpillars. Finally, we give experimental results of computing the caterpillar alignment distance.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Kyoto Encyclopedia of Genes and Genomes, http://www.kegg.jp/.
- 2.
- 3.
- 4.
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). https://doi.org/10.1016/j.tcs.2012.11.017
Chawathe, S.S.: Comparing hierarchical data in external memory. In: Proceedings of VLDB’99, pp. 90–101 (1999). https://doi.org/10.5555/645925.671669
Deza, M.M., Deza, E.: Encyclopedia of Distances, 4th edn. Springer (2016). https://doi.org/10.1007/978-3-662-52844-0
Gallian, J.A.: A dynamic survey of graph labeling. Electorn. J. Combin. DS6 (2018)
Hirata, K., Yamamoto, Y., Kuboyama, I.: Improved MAX SNP-hard results for finding an edit distance between unordered trees. In: Proceedings of CPM’11, LNCS, vol. 6661, pp. 402–415 (2011). https://doi.org/10.1007/978-3-642-21458-5_34
Ishizaka, Y., Yoshino, T., Hirata, K.: Anchored alignment problem for rooted labeled trees. In: JSAI-isAI Post-Workshop Proceedings, LNAI, vol. 9067, pp. 296-309 (2015). https://doi.org/10.1007/978-3-662-48119-6_22
Jiang, T., Wang, L., Zhang, K.: Alignment of trees—An alternative to tree edit. Theoret. Comput. Sci. 143, 137–148 (1995). https://doi.org/10.1016/0304-3975(95)80029-9
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. In: Proceedings of COCOON’01, LNCS, vol. 2108, pp. 338–348 (2001). https://doi.org/10.1007/3-540-44679-6_37
Muraka, K., Yoshino, T., Hirata, K.: Computing edit distance between rooted labeled caterpillars. In: Proceedings of FedCSIS’18, pp. 245–252 (2018). https://doi.org/10.15439/2018F179
Muraka, K., Yoshino, T., Hirata, K.: Vertical and horizontal distance to approximate edit distance for rooted labeled caterpillars. In: Proceedings of ICPRAM’19, pp. 590–597 (2019). https://doi.org/10.5220/0007387205900597
Selkow, S.M.: The tree-to-tree editing problem. Inf. Process. Lett. 6, 184–186 (1977). https://doi.org/10.1016/0020-0190(77)90064-3
Tai, K.-C.: The tree-to-tree correction problem. J. ACM 26, 422–433 (1979). https://doi.org/10.1145/322139.322143
Wang, J.T.L., Zhang, K.: Finding similar consensus between trees: an algorithm and a distance hierarchy. Pattern Recog. 34, 127–137 (2001). https://doi.org/10.1016/50031-3203(99)00199-5
Yamamoto, Y., Hirata, K., Kuboyama, T.: Tractable and intractable variations of unordered tree edit distance. Int. J. Found. Comput. Sci. 25, 307–330 (2014). https://doi.org/10.1142/50129054114500154
Yoshino, T., Hirata, K.: Tai mapping hierarchy for rooted labeled trees through common subforest. Theory Comput. Sys. 60, 759–783 (2017). https://doi.org/10.1007/s00224-016-9705-1
Zhang, K.: A constrained edit distance between unordered labeled trees. Algorithmica 15, 205–222 (1996). https://doi.org/10.1007/BF01975866
Zhang, K., Jiang, T.: Some MAX SNP-hard results concerning unordered labeled trees. Inf. Process. Lett. 49, 249–254 (1994). https://doi.org/10.1016/0020-0190(94)90062-0
Zhang, K., Wang, J., Shasha, D.: On the editing distance between undirected acyclic graphs. Int. J. Found. Comput. Sci. 7, 45–58 (1996). https://doi.org/10.1142/S0129054196000051
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 The Editor(s) (if applicable) and The Author(s), under exclusive license to Springer Nature Switzerland AG
About this chapter
Cite this chapter
Ukita, Y., Yoshino, T., Hirata, K. (2021). Caterpillar Alignment Distance for Rooted Labeled Caterpillars: Distance Based on Alignments Required to Be Caterpillars. In: Fidanova, S. (eds) Recent Advances in Computational Optimization. WCO 2019. Studies in Computational Intelligence, vol 920. Springer, Cham. https://doi.org/10.1007/978-3-030-58884-7_6
Download citation
DOI: https://doi.org/10.1007/978-3-030-58884-7_6
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-58883-0
Online ISBN: 978-3-030-58884-7
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)