中文
相关论文

相关论文: Faster subsequence recognition in compressed strin…

200 篇论文

The well-known dictionary-based algorithms of the Lempel-Ziv (LZ) 77 family are the basis of several universal lossless compression techniques. These algorithms are asymmetric regarding encoding/decoding time and memory requirements, with…

数据结构与算法 · 计算机科学 2009-12-31 Artur Ferreira , Arlindo Oliveira , Mario Figueiredo

We consider the Abelian longest common factor problem in two scenarios: when input strings are uncompressed and are of size $n$, and when the input strings are run-length encoded and their compressed representations have size at most $m$.…

数据结构与算法 · 计算机科学 2018-04-19 Szymon Grabowski , Tomasz Kociumaka , Jakub Radoszewski

This note provides very simple, efficient algorithms for computing the number of distinct longest common subsequences of two input strings and for computing the number of LCS embeddings.

数据结构与算法 · 计算机科学 2007-05-23 Ronald I. Greenberg

In this paper we define a new problem, motivated by computational biology, $LCSk$ aiming at finding the maximal number of $k$ length $substrings$, matching in both input strings while preserving their order of appearance. The traditional…

数据结构与算法 · 计算机科学 2014-02-11 Gary Benson , Avivit Levy , Riva Shalom

The random access problem for compressed strings is to build a data structure that efficiently supports accessing the character in position $i$ of a string given in compressed form. Given a grammar of size $n$ compressing a string of size…

数据结构与算法 · 计算机科学 2015-01-27 Patrick Hagge Cording

The Lempel-Ziv 77 (LZ77) factorization is a fundamental compression scheme widely used in text processing and data compression. In this work, we investigate the time complexity of maintaining the LZ77 factorization of a dynamic string. By…

数据结构与算法 · 计算机科学 2025-10-28 Itai Boneh , Shay Golan , Matan Kraus

The Binary Jumbled String Matching problem is defined as: Given a string $s$ over $\{a,b\}$ of length $n$ and a query $(x,y)$, with $x,y$ non-negative integers, decide whether $s$ has a substring $t$ with exactly $x$ $a$'s and $y$ $b$'s.…

数据结构与算法 · 计算机科学 2013-06-03 Golnaz Badkobeh , Gabriele Fici , Steve Kroon , Zsuzsanna Lipták

The edit distance problem is a classical fundamental problem in computer science in general, and in combinatorial pattern matching in particular. The standard dynamic programming solution for this problem computes the edit-distance between…

数据结构与算法 · 计算机科学 2016-10-05 Danny Hermelin , Gad M. Landau , Shir Landau , Oren Weimann

A well-known fact in the field of lossless text compression is that high-order entropy is a weak model when the input contains long repetitions. Motivated by this, decades of research have generated myriads of so-called dictionary…

数据结构与算法 · 计算机科学 2020-12-17 Dominik Kempa , Nicola Prezza

The Longest Common Subsequence (LCS) is the problem of finding a subsequence among a set of strings that has two properties of being common to all and is the longest. The LCS has applications in computational biology and text editing, among…

人工智能 · 计算机科学 2023-06-07 Alireza Abdi , Masih Hajsaeedi , Mohsen Hooshmand

Lempel-Ziv (LZ77) factorization is a fundamental problem in string processing: Greedily partition a given string $T$ from left to right into blocks (called phrases) so that each phrase is either the leftmost occurrence of a letter or the…

数据结构与算法 · 计算机科学 2025-06-19 Dominik Kempa , Tomasz Kociumaka

The Longest Common Subsequence Problem (LCS) deals with finding the longest subsequence among a given set of strings. The LCS problem is an NP-hard problem which makes it a target for lots of effort to find a better solution with heuristics…

数据结构与算法 · 计算机科学 2022-06-24 Alireza Abdi , Mohsen Hooshmand

In this paper, we consider several compression techniques for the language modeling problem based on recurrent neural networks (RNNs). It is known that conventional RNNs, e.g, LSTM-based networks in language modeling, are characterized with…

机器学习 · 统计学 2019-04-09 Artem M. Grachev , Dmitry I. Ignatov , Andrey V. Savchenko

The widespread use of Large Language Models (LLMs) in software engineering has intensified the need for improved model and resource efficiency. In particular, for neural code generation, LLMs are used to translate function/method signature…

软件工程 · 计算机科学 2025-06-12 Guang Yang , Yu Zhou , Wei Cheng , Xiangyu Zhang , Xiang Chen , Terry Yue Zhuo , Ke Liu , Xin Zhou , David Lo , Taolue Chen

We study the problem of enumerating the answers to a query formulated in monadic second order logic (MSO) over an unranked forest F that is compressed by a straight-line program (SLP) D. Our main result states that this can be done after…

形式语言与自动机理论 · 计算机科学 2026-03-17 Markus Lohrey , Markus L. Schmid

Sublinear time quantum algorithms have been established for many fundamental problems on strings. This work demonstrates that new, faster quantum algorithms can be designed when the string is highly compressible. We focus on two popular and…

数据结构与算法 · 计算机科学 2023-02-15 Daniel Gibney , Sharma V. Thankachan

We consider the problem of identifying tandem scattered subsequences within a string. Our algorithm identifies a longest subsequence which occurs twice without overlap in a string. This algorithm is based on the Hunt-Szymanski algorithm,…

数据结构与算法 · 计算机科学 2020-06-26 Luís M. S. Russo , Alexandre P. Francisco

Consider the case where consecutive blocks of N letters of a semi-infinite individual sequence X over a finite-alphabet are being compressed into binary sequences by some one-to-one mapping. No a-priori information about X is available at…

信息论 · 计算机科学 2013-01-25 Jacob Ziv

Described are two algorithms to find long approximate palindromes in a string, for example a DNA sequence. A simple algorithm requires O(n)-space and almost always runs in $O(k.n)$-time where n is the length of the string and k is the…

数据结构与算法 · 计算机科学 2007-05-23 L. Allison

We study the classical approximate string matching problem, that is, given strings $P$ and $Q$ and an error threshold $k$, find all ending positions of substrings of $Q$ whose edit distance to $P$ is at most $k$. Let $P$ and $Q$ have…

数据结构与算法 · 计算机科学 2011-03-21 Philip Bille