中文
相关论文

相关论文: Solving Classical String Problems on Compressed Te…

200 篇论文

In this work, we consider pattern matching variants in small space, that is, in the read-only setting, where we want to bound the space usage on top of storing the strings. Our main contribution is a space-time trade-off for the Internal…

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

Given two strings $T$ and $S$ and a set of strings $P$, for each string $p \in P$, consider the unique substrings of $T$ that have $p$ as their prefix and $S$ as their suffix. Two problems then come to mind; the first problem being the…

数据结构与算法 · 计算机科学 2022-04-19 Laurentius Leonard , Ken Tanaka

A Straight-Line Program (SLP) for a string $T$ is a context-free grammar in Chomsky normal form that derives $T$ only, which can be seen as a compressed form of $T$. Kida et al.\ introduced collage systems [Theor. Comput. Sci., 2003] to…

数据结构与算法 · 计算机科学 2026-01-27 Soichiro Migita , Kyotaro Uehata , Tomohiro I

Text-to-pattern distance is a fundamental problem in string matching, where given a pattern of length $m$ and a text of length $n$, over an integer alphabet, we are asked to compute the distance between pattern and the text at every…

数据结构与算法 · 计算机科学 2020-05-04 Przemysław Uznański

Grammar based compression, where one replaces a long string by a small context-free grammar that generates the string, is a simple and powerful paradigm that captures many popular compression schemes. In this paper, we present a novel…

数据结构与算法 · 计算机科学 2013-10-30 Philip Bille , Gad M. Landau , Rajeev Raman , Kunihiko Sadakane , Srinivasa Rao Satti , Oren Weimann

A weighted string over an alphabet of size $\sigma$ is a string in which a set of letters may occur at each position with respective occurrence probabilities. Weighted strings, also known as position weight matrices or uncertain sequences,…

数据结构与算法 · 计算机科学 2015-12-09 Carl Barton , Chang Liu , Solon P. Pissis

Longest common substring (LCS), longest palindrome substring (LPS), and Ulam distance (UL) are three fundamental string problems that can be classically solved in near linear time. In this work, we present sublinear time quantum algorithms…

量子物理 · 物理学 2023-12-29 François Le Gall , Saeed Seddighin

Length-$q$ substrings, or $q$-grams, can represent important characteristics of text data, and determining the frequencies of all $q$-grams contained in the data is an important problem with many applications in the field of data mining and…

数据结构与算法 · 计算机科学 2011-07-18 Keisuke Goto , Hideo Bannai , Shunsuke Inenaga , Masayuki Takeda

Two decades ago, a breakthrough in indexing string collections made it possible to represent them within their compressed space while at the same time offering indexed search functionalities. As this new technology permeated through…

数据结构与算法 · 计算机科学 2022-11-28 Gonzalo Navarro

Frequent pattern mining is a flagship problem in data mining. In its most basic form, it asks for the set of substrings of a given string $S$ of length $n$ that occur at least $\tau$ times in $S$, for some integer $\tau\in[1,n]$. We…

In the past decade, the amount of research being done in the fields of machine learning and deep learning, predominantly in the area of natural language processing (NLP), has risen dramatically. A well-liked method for developing…

计算与语言 · 计算机科学 2023-08-04 Taha Lokat , Divyam Prajapati , Shubhada Labde

We show that under mild assumptions for a problem whose solutions admit a dynamic programming-like recurrence relation, we can still find a solution under additional packing constraints, which need to be satisfied approximately. The number…

数据结构与算法 · 计算机科学 2025-11-06 Etienne Bamas , Shi Li , Lars Rohwedder

The CLP scheme uses Horn clauses and SLD resolution to generate multiple constraint satisfaction problems (CSPs). The possible CSPs include rational trees (giving Prolog) and numerical algorithms for solving linear equations and linear…

编程语言 · 计算机科学 2010-02-09 M. H. van Emden

We study the approximate string matching and regular expression matching problem for the case when the text to be searched is compressed with the Ziv-Lempel adaptive dictionary compression schemes. We present a time-space trade-off that…

数据结构与算法 · 计算机科学 2007-05-23 Philip Bille , Rolf Fagerberg , Inge Li Goertz

Computing the LZ factorization (or LZ77 parsing) of a string is a computational bottleneck in many diverse applications, including data compression, text indexing, and pattern discovery. We describe new linear time LZ factorization…

数据结构与算法 · 计算机科学 2020-12-11 Juha Kärkkäinen , Dominik Kempa , Simon J. Puglisi

We present an algorithm that, given an index $t$, produces the $t$-th (lexicographically ordered) answer of an MSO query over a string. The algorithm requires linear-time preprocessing, and builds a data structure that answers each of these…

数据结构与算法 · 计算机科学 2026-03-16 Martín Muñoz

In this paper, we revisit the much studied problem of Pattern Matching with Swaps (Swap Matching problem, for short). We first present a graph-theoretic model, which opens a new and so far unexplored avenue to solve the problem. Then, using…

数据结构与算法 · 计算机科学 2013-09-19 Pritom Ahmed , Costas S. Iliopoulos , A. S. M. Sohidull Islam , M. Sohel Rahman

One of the long-standing goals in optimisation and constraint programming is to describe a problem in natural language and automatically obtain an executable, efficient model. Large language models appear to bring this vision closer,…

人工智能 · 计算机科学 2025-11-20 Alessio Pellegrino , Jacopo Mauro

Many problems of interest in computer vision can be formulated as a problem of finding consistent correspondences between two feature sets. Feature correspondence (matching) problem with one-to-one mapping constraint is usually formulated…

计算机视觉与模式识别 · 计算机科学 2018-09-21 Bo Jiang

Given a pattern x of length m and a text y of length n, both over an ordered alphabet, the order-preserving pattern matching problem consists in finding all substrings of the text with the same relative order as the pattern. It is an…

数据结构与算法 · 计算机科学 2015-01-19 Simone Faro , Oğuzhan Külekci