中文
相关论文

相关论文: Finding approximate palindromes in strings

200 篇论文

The cornerstone of any algorithm computing all repetitions in a string of length n in O(n) time is the fact that the number of runs (or maximal repetitions) is O(n). We give a simple proof of this result. As a consequence of our approach,…

数据结构与算法 · 计算机科学 2008-02-21 Maxime Crochemore , Lucian Ilie

In the Shortest-Superstring problem, we are given a set of strings S and want to find a string that contains all strings in S as substrings and has minimum length. This is a classical problem in approximation and the best known…

数据结构与算法 · 计算机科学 2016-11-11 Marcin Mucha

We consider the following model for sampling pairs of strings: $s_1$ is a uniformly random bitstring of length $n$, and $s_2$ is the bitstring arrived at by applying substitutions, insertions, and deletions to each bit of $s_1$ with some…

数据结构与算法 · 计算机科学 2020-07-08 Arun Ganesh , Aaron Sy

Algorithms often carry out equally many computations for "easy" and "hard" problem instances. In particular, algorithms for finding nearest neighbors typically have the same running time regardless of the particular problem instance. In…

数据结构与算法 · 计算机科学 2020-03-25 Daniel LeJeune , Richard G. Baraniuk , Reinhard Heckel

We show how to compute the edit distance between two strings of length n up to a factor of 2^{\~O(sqrt(log n))} in n^(1+o(1)) time. This is the first sub-polynomial approximation algorithm for this problem that runs in near-linear time,…

数据结构与算法 · 计算机科学 2011-09-27 Alexandr Andoni , Krzysztof Onak

The edit distance between two strings is defined as the smallest number of insertions, deletions, and substitutions that need to be made to transform one of the strings to another one. Approximating edit distance in subquadratic time is…

数据结构与算法 · 计算机科学 2018-04-27 Mahdi Boroujeni , Soheil Ehsani , Mohammad Ghodsi , MohammadTaghi HajiAghayi , Saeed Seddighin

The classical pattern matching paradigm is that of seeking occurrences of one string - the pattern, in another - the text, where both strings are drawn from an alphabet set $\Sigma$. Assuming the text length is $n$ and the pattern length is…

数据结构与算法 · 计算机科学 2022-07-19 Ora Amir , Amihood Amir , Aviezri Fraenkel , David Sarne

In this paper we are dealing with the issue of finding possibly short synchronizing words in automata with weight assigned to each letter in the alphabet $\Sigma$. First we discuss some complexity problems, and then we present new…

形式语言与自动机理论 · 计算机科学 2021-03-31 Jakub Ruszil

We solve the problems of detecting and counting various forms of regularities in a string represented as a Straight Line Program (SLP). Given an SLP of size $n$ that represents a string $s$ of length $N$, our algorithm compute all runs and…

The 2-LCPS problem, first introduced by Chowdhury et al. [Fundam. Inform., 129(4):329-340, 2014], asks one to compute (the length of) a longest palindromic common subsequence between two given strings $A$ and $B$. We show that the 2-LCPS…

数据结构与算法 · 计算机科学 2016-12-23 Shunsuke Inenaga , Heikki Hyyrö

In this work, we address the problem of approximate pattern matching with wildcards. Given a pattern $P$ of length $m$ containing $D$ wildcards, a text $T$ of length $n$, and an integer $k$, our objective is to identify all fragments of $T$…

数据结构与算法 · 计算机科学 2024-05-22 Gabriel Bathie , Panagiotis Charalampopoulos , Tatiana Starikovskaya

We study algorithms for approximating pairwise similarity matrices that arise in natural language processing. Generally, computing a similarity matrix for $n$ data points requires $\Omega(n^2)$ similarity computations. This quadratic…

机器学习 · 计算机科学 2022-04-28 Archan Ray , Nicholas Monath , Andrew McCallum , Cameron Musco

We consider a class of pattern matching problems where a normalising transformation is applied at every alignment. Normalised pattern matching plays a key role in fields as diverse as image processing and musical information processing…

数据结构与算法 · 计算机科学 2015-03-19 Ayelet Butman , Peter Clifford , Raphael Clifford , Markus Jalsenius , Noa Lewenstein , Benny Porat , Ely Porat , Benjamin Sach

We study the following rearrangement problem: Given $n$ words, rearrange and concatenate them so that the obtained string is lexicographically smallest (or largest, respectively). We show that this problem reduces to sorting the given words…

数据结构与算法 · 计算机科学 2022-04-26 Ruixi Luo , Taikun Zhu , Kai Jin

Polytrees are a subclass of Bayesian networks that seek to capture the conditional dependencies between a set of $n$ variables as a directed forest and are motivated by their more efficient inference and improved interpretability. Since the…

数据结构与算法 · 计算机科学 2026-05-06 Juha Harviainen , Frank Sommer , Manuel Sorge

In many applications, it is necessary to determine the string similarity. Edit distance[WF74] approach is a classic method to determine Field Similarity. A well known dynamic programming algorithm [GUS97] is used to calculate edit distance…

数据结构与算法 · 计算机科学 2007-05-23 Qi Xiao Yang , Sung Sam Yuan , Lu Chun , Li Zhao , Sun Peng

Edit distance is a fundamental measure of distance between strings and has been widely studied in computer science. While the problem of estimating edit distance has been studied extensively, the equally important question of actually…

数据结构与算法 · 计算机科学 2018-05-08 Moses Charikar , Ofir Geri , Michael P. Kim , William Kuszmaul

String matching is the problem of deciding whether a given $n$-bit string contains a given $k$-bit pattern. We study the complexity of this problem in three settings. Communication complexity. For small $k$, we provide near-optimal upper…

计算复杂性 · 计算机科学 2019-02-21 Alexander Golovnev , Mika Göös , Daniel Reichman , Igor Shinkar

In this paper we describe a data structure that supports pattern matching queries on a dynamically arriving text over an alphabet ofconstant size. Each new symbol can be prepended to $T$ in O(1) worst-case time. At any moment, we can report…

数据结构与算法 · 计算机科学 2013-07-09 Gregory Kucherov , Yakov Nekrich

We study a generalization of the recently introduced order-preserving pattern matching, where instead of looking for an exact copy of the pattern, we only require that the relative order between the elements is the same. In our variant, we…

数据结构与算法 · 计算机科学 2014-03-07 Pawel Gawrychowski , Przemyslaw Uznanski