Counting common substrings effectively
Data Structures and Algorithms
2012-09-24 v1
Abstract
This article presents effective (dynamic) algorithm for solving a problem of counting the number of substrings of given string which are also substrings of second string. Presented algorithm can be used for example for quick calculation of strings similarity measure using generalized -gram method (Niewiadomski measure), which are shown. Correctness and complexity analyses are included. ----- W artykule przedstawiono efektywny (dynamiczny) algorytm wyznaczaj\k{a}cy miar\k{e} podobie\'nstwa wyraz\'ow za pomoc\k{a} uog\'olnionej metody -gram\'ow (miary Niewiadomskiego). Uzasadniono tak\.ze poprawno\'s\'c dzia{\l}ania algorytmu i oszacowano jego z{\l}o\.zono\'s\'c obliczeniow\k{a}.
Keywords
Cite
@article{arxiv.1209.4771,
title = {Counting common substrings effectively},
author = {Stanisław Goldstein and Piotr Beling},
journal= {arXiv preprint arXiv:1209.4771},
year = {2012}
}
Comments
6 pages, in Polish