Cargando…
A k-mismatch string matching for generalized edit distance using diagonal skipping method
This paper proposes an approximate string matching with k-mismatches when calculating the generalized edit distance. When the edit distance is generalized, more sophisticated string matching can be provided. However, the execution time increases because of the bundle of complex computations for calc...
Autor principal: | |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Public Library of Science
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8096107/ https://www.ncbi.nlm.nih.gov/pubmed/33945564 http://dx.doi.org/10.1371/journal.pone.0251047 |
_version_ | 1783688097694744576 |
---|---|
author | Kim, HyunJin |
author_facet | Kim, HyunJin |
author_sort | Kim, HyunJin |
collection | PubMed |
description | This paper proposes an approximate string matching with k-mismatches when calculating the generalized edit distance. When the edit distance is generalized, more sophisticated string matching can be provided. However, the execution time increases because of the bundle of complex computations for calculating complicated edit distances. The computational costs for finding which steps or edit distances are over k-mismatches cannot be significant in the generalized edit distance metric. Therefore, we can reduce the execution time by determining steps over k-mismatches and then skipping them. The diagonal step calculations using the pruning register skips unnecessary distance calculations over k-mismatches. The overhead of control statements and reordered memory accesses can be amortized by skipping multiple steps. Even though the proposed skipping method requires additional overhead, the proposed scheme’s practical embodiments show that the execution time of string matching is reduced significantly when k is small. |
format | Online Article Text |
id | pubmed-8096107 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | Public Library of Science |
record_format | MEDLINE/PubMed |
spelling | pubmed-80961072021-05-17 A k-mismatch string matching for generalized edit distance using diagonal skipping method Kim, HyunJin PLoS One Research Article This paper proposes an approximate string matching with k-mismatches when calculating the generalized edit distance. When the edit distance is generalized, more sophisticated string matching can be provided. However, the execution time increases because of the bundle of complex computations for calculating complicated edit distances. The computational costs for finding which steps or edit distances are over k-mismatches cannot be significant in the generalized edit distance metric. Therefore, we can reduce the execution time by determining steps over k-mismatches and then skipping them. The diagonal step calculations using the pruning register skips unnecessary distance calculations over k-mismatches. The overhead of control statements and reordered memory accesses can be amortized by skipping multiple steps. Even though the proposed skipping method requires additional overhead, the proposed scheme’s practical embodiments show that the execution time of string matching is reduced significantly when k is small. Public Library of Science 2021-05-04 /pmc/articles/PMC8096107/ /pubmed/33945564 http://dx.doi.org/10.1371/journal.pone.0251047 Text en © 2021 HyunJin Kim https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. |
spellingShingle | Research Article Kim, HyunJin A k-mismatch string matching for generalized edit distance using diagonal skipping method |
title | A k-mismatch string matching for generalized edit distance using diagonal skipping method |
title_full | A k-mismatch string matching for generalized edit distance using diagonal skipping method |
title_fullStr | A k-mismatch string matching for generalized edit distance using diagonal skipping method |
title_full_unstemmed | A k-mismatch string matching for generalized edit distance using diagonal skipping method |
title_short | A k-mismatch string matching for generalized edit distance using diagonal skipping method |
title_sort | k-mismatch string matching for generalized edit distance using diagonal skipping method |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8096107/ https://www.ncbi.nlm.nih.gov/pubmed/33945564 http://dx.doi.org/10.1371/journal.pone.0251047 |
work_keys_str_mv | AT kimhyunjin akmismatchstringmatchingforgeneralizededitdistanceusingdiagonalskippingmethod AT kimhyunjin kmismatchstringmatchingforgeneralizededitdistanceusingdiagonalskippingmethod |