Skip to main content

Caterpillar Alignment Distance for Rooted Labeled Caterpillars: Distance Based on Alignments Required to Be Caterpillars

  • Chapter
  • First Online:
Recent Advances in Computational Optimization (WCO 2019)

Part of the book series: Studies in Computational Intelligence ((SCI,volume 920))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Kyoto Encyclopedia of Genes and Genomes, http://www.kegg.jp/.

  2. 2.

    http://www.cs.rpi.edu/~zaki/www-new/pmwiki.php/Software/Software.

  3. 3.

    http://dblp.uni-trier.de/.

  4. 4.

    http://aiweb.cs.washington.edu/research/projects/xmltk/xmldata/www/repository.html.

References

  1. 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

    Article  MathSciNet  MATH  Google Scholar 

  2. 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

  3. Deza, M.M., Deza, E.: Encyclopedia of Distances, 4th edn. Springer (2016). https://doi.org/10.1007/978-3-662-52844-0

  4. Gallian, J.A.: A dynamic survey of graph labeling. Electorn. J. Combin. DS6 (2018)

    Google Scholar 

  5. 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

  6. 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

  7. 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

    Article  MathSciNet  MATH  Google Scholar 

  8. Kuboyama, T.: Matching and learning in trees. Ph.D thesis, University of Tokyo (2007)

    Google Scholar 

  9. 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

  10. 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

  11. 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

  12. 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

    Article  MathSciNet  MATH  Google Scholar 

  13. Tai, K.-C.: The tree-to-tree correction problem. J. ACM 26, 422–433 (1979). https://doi.org/10.1145/322139.322143

    Article  MathSciNet  MATH  Google Scholar 

  14. 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

    Article  MATH  Google Scholar 

  15. 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

    Article  MathSciNet  MATH  Google Scholar 

  16. 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

    Article  MathSciNet  MATH  Google Scholar 

  17. Zhang, K.: A constrained edit distance between unordered labeled trees. Algorithmica 15, 205–222 (1996). https://doi.org/10.1007/BF01975866

    Article  MathSciNet  MATH  Google Scholar 

  18. 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

    Article  MathSciNet  MATH  Google Scholar 

  19. 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

    Article  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yoshiyuki Ukita .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics