{"title":"Leaf-Preserving Distance between Rooted Labeled Caterpillars","authors":"Manami Hagihara, Takuya Yoshino, K. Hirata","doi":"10.1109/iiai-aai53430.2021.00004","DOIUrl":null,"url":null,"abstract":"In this paper, we introduce a leaf-preserving distance between rooted labeled trees (trees, for short) as a distance that a leaf in a tree is corresponding to a leaf in another tree. Then, we show that the leaf-preserving distance is always smaller than or equal to the bottom-up distance and incomparable with the alignment distance, the isolated-subtree distance and the segmental distance, but the problem of computing the leaf-preserving distance between trees is MAX SNP-hard. On the other hand, for a rooted labeled caterpillar (caterpillar, for short) that is a tree transformed to a rooted path after removing all the leaves in it, we design an algorithm to compute the leaf-preserving distance between caterpillars in O(h2λ) time, where h is the maximum height and λ is the maximum number of leaves for given two caterpillars. Finally, we give experimental results for computing the leaf-preserving distance for caterpillars.","PeriodicalId":414070,"journal":{"name":"2021 10th International Congress on Advanced Applied Informatics (IIAI-AAI)","volume":"5 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 10th International Congress on Advanced Applied Informatics (IIAI-AAI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/iiai-aai53430.2021.00004","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
In this paper, we introduce a leaf-preserving distance between rooted labeled trees (trees, for short) as a distance that a leaf in a tree is corresponding to a leaf in another tree. Then, we show that the leaf-preserving distance is always smaller than or equal to the bottom-up distance and incomparable with the alignment distance, the isolated-subtree distance and the segmental distance, but the problem of computing the leaf-preserving distance between trees is MAX SNP-hard. On the other hand, for a rooted labeled caterpillar (caterpillar, for short) that is a tree transformed to a rooted path after removing all the leaves in it, we design an algorithm to compute the leaf-preserving distance between caterpillars in O(h2λ) time, where h is the maximum height and λ is the maximum number of leaves for given two caterpillars. Finally, we give experimental results for computing the leaf-preserving distance for caterpillars.