中文
相关论文

相关论文: Computing Abelian regularities on RLE strings

200 篇论文

Dynamic Time Warping (DTW) is a widely used similarity measure for comparing strings that encode time series data, with applications to areas including bioinformatics, signature verification, and speech recognition. The standard…

数据结构与算法 · 计算机科学 2022-07-05 Zoe Xi , William Kuszmaul

In a recent work I developed a formula for efficiently calculating the number of abelian squares of length $t+t$ over an alphabet of size $d$, where $d$ may be very large. Here I show how the expressiveness of a certain class of…

量子物理 · 物理学 2022-08-05 Ryan S. Bennink

It was recently proved that any SLP generating a given string $w$ can be transformed in linear time into an equivalent balanced SLP of the same asymptotic size. We show that this result also holds for RLSLPs, which are SLPs extended with…

数据结构与算法 · 计算机科学 2022-06-28 Gonzalo Navarro , Francisco Olivares , Cristian Urbina

A string $w$ is called a minimal absent word (MAW) for another string $T$ if $w$ does not occur (as a substring) in $T$ and any proper substring of $w$ occurs in $T$. State-of-the-art data structures for reporting the set $\mathsf{MAW}(T)$…

数据结构与算法 · 计算机科学 2022-04-18 Tooru Akagi , Kouta Okabe , Takuya Mieno , Yuto Nakashima , Shunsuke Inenaga

Constantinescu and Ilie (Bulletin of the EATCS 89, 167-170, 2006) introduced the idea of an Abelian period with head and tail of a finite word. An Abelian period is called full if both the head and the tail are empty. We present a simple…

数据结构与算法 · 计算机科学 2017-01-02 Gabriele Fici , Thierry Lecroq , Arnaud Lefebvre , Élise Prieur-Gaston , William F. Smyth

Classic similarity measures of strings are longest common subsequence and Levenshtein distance (i.e., the classic edit distance). A classic similarity measure of curves is dynamic time warping. These measures can be computed by simple…

计算复杂性 · 计算机科学 2015-04-06 Karl Bringmann , Marvin Künnemann

A polynomial $P \in \mathbb{C}[z_1, \ldots, z_d]$ is strongly $\mathbb{D}^d$-stable if $P$ has no zeroes in the closed unit polydisc $\overline{\mathbb{D}}^d.$ For such a polynomial define its spectral density function as…

组合数学 · 数学 2021-08-09 Charles Burnette , Chung Wong

A word is "crucial" with respect to a given set of "prohibited words" (or simply "prohibitions") if it avoids the prohibitions but it cannot be extended to the right by any letter of its alphabet without creating a prohibition. A "minimal…

组合数学 · 数学 2010-03-16 Amy Glen , Bjarni V. Halldórsson , Sergey Kitaev

The Longest Common Subsequence (LCS) is a fundamental string similarity measure, and computing the LCS of two strings is a classic algorithms question. A textbook dynamic programming algorithm gives an exact algorithm in quadratic time, and…

数据结构与算法 · 计算机科学 2023-02-13 Xiaoyu He , Ray Li

Finding an Approximate Longest Common Substring (ALCS) within a given set $S=\{s_1,s_2,\ldots,s_m\}$ of $m \ge 2$ strings is a key problem in computational biology, such as identifying related mutations across multiple genetic sequences. We…

数据结构与算法 · 计算机科学 2025-09-22 Hamed Hasibi , Neerja Mhaskar , W. F. Smyth

In combinatorics on words, a classical topic of study is the number of specific patterns appearing in infinite sequences. For instance, many works have been dedicated to studying the so-called factor complexity of infinite sequences, which…

组合数学 · 数学 2024-10-04 Pierre Popoli , Jeffrey Shallit , Manon Stipulanti

I present a recursive formula for calculating the number of abelian squares of length $n+n$ over an alphabet of size $d$. The presented formula is similar to a previously known formula but has substantially lower complexity when $d\gg n$.

组合数学 · 数学 2022-03-23 Ryan S. Bennink

We propose a new approach for calculating the Lempel-Ziv factorization of a string, based on run length encoding (RLE). We present a conceptually simple off-line algorithm based on a variant of suffix arrays, as well as an on-line algorithm…

数据结构与算法 · 计算机科学 2015-03-20 Jun'ichi Yamamoto , Hideo Bannai , Shunsuke Inenaga , Masayuki Takeda

In this paper we consider two problems concerning string factorisation. Specifically given a string $w$ and an integer $k$ find a factorisation of $w$ where each factor has length bounded by $k$ and has the minimum (the FmD problem) or the…

数据结构与算法 · 计算机科学 2019-12-24 Angelo Monti , Blerina Sinaimeri

Let $w$ be a string of length $n$. The problem of counting factors crossing a position - Problem 64 from the textbook ``125 Problems in Text Algorithms'' [Crochemore, Leqroc, and Rytter, 2021], asks to count the number $\mathcal{C}(w,k)$…

数据结构与算法 · 计算机科学 2025-07-01 Haruki Umezaki , Hiroki Shibata , Dominik Köppl , Yuto Nakashima , Shunsuke Inenaga , Hideo Bannai

A $k$-mismatch square is a string of the form $XY$ where $X$ and $Y$ are two equal-length strings that have at most $k$ mismatches. Kolpakov and Kucherov [Theor. Comput. Sci., 2003] defined two notions of $k$-mismatch repeats, called…

数据结构与算法 · 计算机科学 2025-09-03 Yuto Nakashima , Jakub Radoszewski , Tomasz Waleń

Highly-repetitive collections of strings are increasingly being amassed by genome sequencing and genetic variation experiments, as well as by storing all versions of human-generated files, like webpages and source code. Existing indexes for…

数据结构与算法 · 计算机科学 2016-04-22 Djamal Belazzougui , Fabio Cunial , Travis Gagie , Nicola Prezza , Mathieu Raffinot

One of the most fundamental method for comparing two given strings $A$ and $B$ is the longest common subsequence (LCS), where the task is to find (the length) of an LCS of $A$ and $B$. In this paper, we deal with the STR-IC-LCS problem…

数据结构与算法 · 计算机科学 2024-05-21 Yuki Yonemoto , Yuto Nakashima , Shunsuke Inenaga , Hideo Bannai

A run in a string is a maximal periodic substring. For example, the string $\texttt{bananatree}$ contains the runs $\texttt{anana} = (\texttt{an})^{3/2}$ and $\texttt{ee} = \texttt{e}^2$. There are less than $n$ runs in any length-$n$…

数据结构与算法 · 计算机科学 2021-02-18 Jonas Ellert , Johannes Fischer

The problem of constructing optimal factoring automata arises in the context of unification factoring for the efficient execution of logic programs. Given an ordered set of $n$ strings of length $m$, the problem is to construct a trie-like…

数据结构与算法 · 计算机科学 2024-04-04 Thomas Erlebach , Kleitos Papadopoulos