中文
相关论文

相关论文: Inducing the LCP-Array

200 篇论文

The direct application of the definition of sorting in lattices is impractical because it leads to an algorithm with exponential complexity. In this paper we present for distributive lattices a recursive formulation to compute the sort of a…

离散数学 · 计算机科学 2013-06-04 Jens Gerlach

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

Suffix tree (and the closely related suffix array) are fundamental structures capturing all substrings of a given text essentially by storing all its suffixes in the lexicographical order. In some applications, we work with a subset of $b$…

数据结构与算法 · 计算机科学 2016-08-03 Paweł Gawrychowski , Tomasz Kociumaka

The use of complex networks as a modern approach to understanding the world and its dynamics is well-established in literature. The adjacency matrix, which provides a one-to-one representation of a complex network, can also yield several…

社会与信息网络 · 计算机科学 2023-01-23 Mariane B. Neiva , Odemir M. Bruno

Efficient construction of the suffix tree given an input text is an active area of research from the time it was first introduced. Both theoretical computer scientists and engineers tackled the problem. In this paper we focus on the fastest…

分布式、并行与集群计算 · 计算机科学 2016-10-03 Matevž Jekovec , Andrej Brodnik

We show that the compressed suffix array and the compressed suffix tree of a string $T$ can be built in $O(n)$ deterministic time using $O(n\log\sigma)$ bits of space, where $n$ is the string length and $\sigma$ is the alphabet size.…

数据结构与算法 · 计算机科学 2016-11-15 J. Ian Munro , Gonzalo Navarro , Yakov Nekrich

A longest common extension (LCE) query on a string computes the length of the longest common suffix or prefix at two given positions. A dynamic LCE algorithm maintains a data structure that allows efficient LCE queries on a string that can…

数据结构与算法 · 计算机科学 2026-04-15 Daniel Albert

The suffix array is the key to efficient solutions for myriads of string processing problems in different applications domains, like data compression, data mining, or Bioinformatics. With the rapid growth of available data, suffix array…

数据结构与算法 · 计算机科学 2016-10-11 Timo Bingmann , Simon Gog , Florian Kurpicz

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 show that the Longest Common Prefix Array of a text collection of total size n on alphabet [1, {\sigma}] can be computed from the Burrows-Wheeler transformed collection in O(n log {\sigma}) time using o(n log {\sigma}) bits of working…

数据结构与算法 · 计算机科学 2019-01-23 Nicola Prezza , Giovanna Rosone

We prove several combinatorial properties of suffix arrays, including a characterization of suffix arrays through a bijection with a certain well-defined class of permutations. Our approach is based on the characterization of…

数据结构与算法 · 计算机科学 2012-06-19 Gregory Kucherov , Lilla Tóthmérész , Stéphane Vialette

Recently, Conte et al. generalized the longest-common prefix (LCP) array from strings to Wheeler DFAs, and they showed that it can be used to efficiently determine matching statistics on a Wheeler DFA [DCC 2023]. However, storing the LCP…

数据结构与算法 · 计算机科学 2024-08-20 Nicola Cotumaccio , Travis Gagie , Dominik Köppl , Nicola Prezza

Extracting sentence embeddings from large language models (LLMs) is a practical direction, as it requires neither additional data nor fine-tuning. Previous studies usually focus on prompt engineering to guide LLMs to encode the core…

计算与语言 · 计算机科学 2025-05-20 Zifeng Cheng , Zhonghui Wang , Yuchen Fu , Zhiwei Jiang , Yafeng Yin , Cong Wang , Qing Gu

The process of sorting the suffixes of a text plays a fundamental role in Text Algorithms. They are used for instance in the constructions of the Burrows-Wheeler transform and the suffix array, widely used in several fields of Computer…

数据结构与算法 · 计算机科学 2013-06-07 Sabrina Mantaci , Antonio Restivo , Giovanna Rosone , Marinella Sciortino

We introduce GCIS, a grammar compression algorithm based on the induced suffix sorting algorithm SAIS, introduced by Nong et al. in 2009. Our solution builds on the factorization performed by SAIS during suffix sorting. We construct a…

数据结构与算法 · 计算机科学 2017-11-10 Daniel Saad Nogueira Nunes , Felipe A. Louza , Simon Gog , Mauricio Ayala-Rincón , Gonzalo Navarro

The fundamental question considered in algorithms on strings is that of indexing, that is, preprocessing a given string for specific queries. By now we have a number of efficient solutions for this problem when the queries ask for an exact…

数据结构与算法 · 计算机科学 2023-04-04 Paweł Gawrychowski , Garance Gourdel , Tatiana Starikovskaya , Teresa Anna Steiner

We consider an index data structure for similar strings. The generalized suffix tree can be a solution for this. The generalized suffix tree of two strings $A$ and $B$ is a compacted trie representing all suffixes in $A$ and $B$. It has…

数据结构与算法 · 计算机科学 2013-05-09 Joong Chae Na , Heejin Park , Maxime Crochemore , Jan Holub , Costas S. Iliopoulos , Laurent Mouchard , Kunsoo Park

We give a sublinear quantum algorithm for the longest common substring (LCS) problem on the run-length encoded (RLE) inputs, under the assumption that the prefix-sums of the runs are given. Our algorithm costs $\tilde{O}(n^{5/6})\cdot…

量子物理 · 物理学 2023-10-03 Tzu-Ching Lee , Han-Hsuan Lin

This paper performs the analysis necessary to bound the running time of known, efficient algorithms for generating all longest common subsequences. That is, we bound the running time as a function of input size for algorithms with time…

离散数学 · 计算机科学 2007-05-23 Ronald I. Greenberg

Covers being one of the most popular form of regularities in strings, have drawn much attention over time. In this paper, we focus on the problem of linear time inference of strings from cover arrays using the least sized alphabet possible.…

数据结构与算法 · 计算机科学 2011-08-30 Tanaeem M. Moosa , Sumaiya Nazeen , M. Sohel Rahman , Rezwana Reaz