中文
相关论文

相关论文: Internal Shortest Absent Word Queries in Constant …

200 篇论文

A longest repeat query on a string, motivated by its applications in many subfields including computational biology, asks for the longest repetitive substring(s) covering a particular string position (point query). In this paper, we extend…

数据结构与算法 · 计算机科学 2015-11-10 Bojian Xu

The longest common substring with $k$-mismatches problem is to find, given two strings $S_1$ and $S_2$, a longest substring $A_1$ of $S_1$ and $A_2$ of $S_2$ such that the Hamming distance between $A_1$ and $A_2$ is $\le k$. We introduce a…

数据结构与算法 · 计算机科学 2015-04-08 Tomas Flouri , Emanuele Giaquinta , Kassian Kobert , Esko Ukkonen

A constant-workspace algorithm has read-only access to an input array and may use only O(1) additional words of $O(\log n)$ bits, where $n$ is the size of the input. We assume that a simple $n$-gon is given by the ordered sequence of its…

计算几何 · 计算机科学 2013-06-14 Tetsuo Asano , Kevin Buchin , Maike Buchin , Matias Korman , Wolfgang Mulzer , Günter Rote , André Schulz

The classic string indexing problem is to preprocess a string S into a compact data structure that supports efficient pattern matching queries. Typical queries include existential queries (decide if the pattern occurs in S), reporting…

数据结构与算法 · 计算机科学 2021-02-05 Philip Bille , Inge Li Gørtz , Max Rishøj Pedersen , Teresa Anna Steiner

The most fundamental problem considered in algorithms for text processing is pattern matching: given a pattern $p$ of length $m$ and a text $t$ of length $n$, does $p$ occur in $t$? Multiple versions of this basic question have been…

数据结构与算法 · 计算机科学 2021-11-10 Moses Ganardi , Paweł Gawrychowski

In Gapped String Indexing, the goal is to compactly represent a string $S$ of length $n$ such that for any query consisting of two strings $P_1$ and $P_2$, called patterns, and an integer interval $[\alpha, \beta]$, called gap range, we can…

数据结构与算法 · 计算机科学 2024-03-06 Philip Bille , Inge Li Gørtz , Moshe Lewenstein , Solon P. Pissis , Eva Rotenberg , Teresa Anna Steiner

Bille and G{\o}rtz (2011) recently introduced the problem of substring range counting, for which we are asked to store compactly a string $S$ of $n$ characters with integer labels in ([0, u]), such that later, given an interval ([a, b]) and…

数据结构与算法 · 计算机科学 2012-02-16 Travis Gagie , Paweł Gawrychowski

Given a string $w$, another string $v$ is said to be a subsequence of $w$ if $v$ can be obtained from $w$ by removing some of its letters; on the other hand, $v$ is called an absent subsequence of $w$ if $v$ is not a subsequence of $w$. The…

数据结构与算法 · 计算机科学 2025-05-01 Florin Manea , Tina Ringleb , Stefan Siemer , Maximilian Winkler

A string $w$ is called a minimal absent word (MAW) for a string $S$ if $w$ does not occur as a substring in $S$ and all proper substrings of $w$ occur in $S$. MAWs are well-studied combinatorial string objects that have potential…

数据结构与算法 · 计算机科学 2023-08-01 Kouta Okabe , Takuya Mieno , Yuto Nakashima , Shunsuke Inenaga , Hideo Bannai

In the longest common substring (LCS) problem, we are given two strings $S$ and $T$, each of length at most $n$, and we are asked to find a longest string occurring as a fragment of both $S$ and $T$. This is a classical and well-studied…

数据结构与算法 · 计算机科学 2018-07-17 Amihood Amir , Panagiotis Charalampopoulos , Solon P. Pissis , Jakub Radoszewski

We consider the problem of indexing a string $t$ of length $n$ to report the occurrences of a query pattern $p$ containing $m$ characters and $j$ wildcards. Let $occ$ be the number of occurrences of $p$ in $t$, and $\sigma$ the size of the…

数据结构与算法 · 计算机科学 2012-09-07 Philip Bille , Inge Li Goertz , Hjalte Wedel Vildhøj , Søren Vind

We consider the approximate pattern matching problem under edit distance. In this problem we are given a pattern $P$ of length $w$ and a text $T$ of length $n$ over some alphabet $\Sigma$, and a positive integer $k$. The goal is to find all…

数据结构与算法 · 计算机科学 2018-11-06 Diptarka Chakraborty , Debarati Das , Michal Koucky

This paper investigates the (quasi-)periodicity of a string when the string is edited. A string $C$ is called a cover (as known as a quasi-period) of a string $T$ if each character of $T$ lies within some occurrence of $C$. By definition, a…

数据结构与算法 · 计算机科学 2024-04-29 Kazuki Mitani , Takuya Mieno , Kazuhisa Seto , Takashi Horiyama

The online square detection problem is to detect the first occurrence of a square in a string whose characters are provided as input one at a time. Recall that a square is a string that is a concatenation of two identical strings. In this…

数据结构与算法 · 计算机科学 2014-11-10 Dmitry Kosolobov

In this paper we address the longest common extension (LCE) problem: to compute the length $\ell$ of the longest common prefix between any two suffixes of $T\in \Sigma^n$ with $ \Sigma = \{0, \ldots \sigma-1\} $. We present two fast and…

数据结构与算法 · 计算机科学 2016-07-25 Alberto Policriti , Nicola Prezza

Given a string $S$ of $n$ symbols, a longest common extension query $\mathsf{LCE}(i,j)$ asks for the length of the longest common prefix of the $i$th and $j$th suffixes of $S$. LCE queries have several important applications in string…

数据结构与算法 · 计算机科学 2016-02-01 Yuka Tanimura , Tomohiro I , Hideo Bannai , Shunsuke Inenaga , Simon J. Puglisi , Masayuki Takeda

Given an array A[1: n] of n elements drawn from an ordered set, the sorted range selection problem is to build a data structure that can be used to answer the following type of queries efficiently: Given a pair of indices i, j $ (1\le i\le…

数据结构与算法 · 计算机科学 2025-04-22 Waseem Akram , Sanjeev Saxena

We study the internal dictionary matching (IDM) problem where a dictionary $\mathcal{D}$ containing $d$ substrings of a text $T$ is given, and each query concerns the occurrences of patterns in $\mathcal{D}$ in another substring of $T$. We…

数据结构与算法 · 计算机科学 2025-05-16 Jingbang Chen , Jiangqi Dai , Qiuyang Mang , Qingyu Shi , Tingqiang Xu

Given strings $P$ of length $m$ and $T$ of length $n$ over an alphabet of size $\sigma$, the string matching with $k$-mismatches problem is to find the positions of all the substrings in $T$ that are at Hamming distance at most $k$ from…

数据结构与算法 · 计算机科学 2013-08-01 Emanuele Giaquinta , Szymon Grabowski , Kimmo Fredriksson

We revisit the problem of longest common property preserving substring queries introduced by~Ayad et al. (SPIRE 2018, arXiv 2018). We consider a generalized and unified on-line setting, where we are given a set $X$ of $k$ strings of total…

数据结构与算法 · 计算机科学 2019-06-14 Kazuki Kai , Yuto Nakashima , Shunsuke Inenaga , Hideo Bannai , Masayuki Takeda , Tomasz Kociumaka