Source author record

Diptarama Hendrian

Explore this author’s publications, collaborators and research topics. This catalog record has not been claimed by its author.

ResearcherUnclaimed source record

Catalog footprint

Research overview

6works
1topics
4close collaborators

Published work

6 publications

preprint2022arXiv

Computing the Parameterized Burrows--Wheeler Transform Online

Parameterized strings are a generalization of strings in that their characters are drawn from two different alphabets, where one is considered to be the alphabet of static characters and the other to be the alphabet of parameter characters. Two parameterized strings are a parameterized match if there is a bijection over all characters such that the bijection transforms one string to the other while keeping the static characters (i.e., it behaves as the identity on the static alphabet). Ganguly et al. [SODA 2017] proposed the parameterized Burrows--Wheeler transform (pBWT) as a variant of the Burrows--Wheeler transform for space-efficient parameterized pattern matching. In this paper, we propose an algorithm for computing the pBWT online by reading the characters of a given input string one-by-one from right to left. Our algorithm works in O(∣Π∣log⁡n/log⁡log⁡n)O(|Π| \log n / \log \log n) amortized time for each input character, where nn and ΠΠ denote the size of the input string and the alphabet of the parameter characters, respectively.

preprint2022arXiv

Parallel algorithm for pattern matching problems under substring consistent equivalence relations

Given a text and a pattern over an alphabet, the pattern matching problem searches for all occurrences of the pattern in the text. An equivalence relation ≈\approx is called a substring consistent equivalence relation (SCER), if for two strings XX and YY, X≈YX \approx Y implies ∣X∣=∣Y∣|X| = |Y| and X[i:j]≈Y[i:j]X[i:j] \approx Y[i:j] for all 1≤i≤j≤∣X∣1 \le i \le j \le |X|. In this paper, we propose an efficient parallel algorithm for pattern matching under any SCER using the"duel-and-sweep" paradigm. For a pattern of length mm and a text of length nn, our algorithm runs in O(ξmtlog⁡2m)O(ξ_m^\mathrm{t} \log^2 m) time and O(ξmw⋅nlog⁡2m)O(ξ_m^\mathrm{w} \cdot n \log^2 m) work, with O(τnt+ξmtlog⁡2m)O(τ_n^\mathrm{t} + ξ_m^\mathrm{t} \log^2 m) time and O(τnw+ξmw⋅mlog⁡2m)O(τ_n^\mathrm{w} + ξ_m^\mathrm{w} \cdot m \log^2 m) work preprocessing on the Priority Concurrent Read Concurrent Write Parallel Random-Access Machines (P-CRCW PRAM).

preprint2020arXiv

Computing Covers under Substring Consistent Equivalence Relations

Covers are a kind of quasiperiodicity in strings. A string CC is a cover of another string TT if any position of TT is inside some occurrence of CC in TT. The shortest and longest cover arrays of TT have the lengths of the shortest and longest covers of each prefix of TT, respectively. The literature has proposed linear-time algorithms computing longest and shortest cover arrays taking border arrays as input. An equivalence relation ≈\approx over strings is called a substring consistent equivalence relation (SCER) iff X≈YX \approx Y implies (1) ∣X∣=∣Y∣|X| = |Y| and (2) X[i:j]≈Y[i:j]X[i:j] \approx Y[i:j] for all 1≤i≤j≤∣X∣1 \le i \le j \le |X|. In this paper, we generalize the notion of covers for SCERs and prove that existing algorithms to compute the shortest cover array and the longest cover array of a string TT under the identity relation will work for any SCERs taking the accordingly generalized border arrays.

preprint2020arXiv

Fast and linear-time string matching algorithms based on the distances of qq-gram occurrences

Given a text TT of length nn and a pattern PP of length mm, the string matching problem is a task to find all occurrences of PP in TT. In this study, we propose an algorithm that solves this problem in O((n+m)q)O((n + m)q) time considering the distance between two adjacent occurrences of the same qq-gram contained in PP. We also propose a theoretical improvement of it which runs in O(n+m)O(n + m) time, though it is not necessarily faster in practice. We compare the execution times of our and existing algorithms on various kinds of real and artificial datasets such as an English text, a genome sequence and a Fibonacci string. The experimental results show that our algorithm is as fast as the state-of-the-art algorithms in many cases, particularly when a pattern frequently appears in a text.

preprint2020arXiv

Grammar compression with probabilistic context-free grammar

We propose a new approach for universal lossless text compression, based on grammar compression. In the literature, a target string TT has been compressed as a context-free grammar GG in Chomsky normal form satisfying L(G)={T}L(G) = \{T\}. Such a grammar is often called a \emph{straight-line program} (SLP). In this paper, we consider a probabilistic grammar GG that generates TT, but not necessarily as a unique element of L(G)L(G). In order to recover the original text TT unambiguously, we keep both the grammar GG and the derivation tree of TT from the start symbol in GG, in compressed form. We show some simple evidence that our proposal is indeed more efficient than SLPs for certain texts, both from theoretical and practical points of view.

preprint2020arXiv

In-Place Bijective Burrows-Wheeler Transforms

One of the most well-known variants of the Burrows-Wheeler transform (BWT) [Burrows and Wheeler, 1994] is the bijective BWT (BBWT) [Gil and Scott, arXiv 2012], which applies the extended BWT (EBWT) [Mantaci et al., TCS 2007] to the multiset of Lyndon factors of a given text. Since the EBWT is invertible, the BBWT is a bijective transform in the sense that the inverse image of the EBWT restores this multiset of Lyndon factors such that the original text can be obtained by sorting these factors in non-increasing order. In this paper, we present algorithms constructing or inverting the BBWT in-place using quadratic time. We also present conversions from the BBWT to the BWT, or vice versa, either (a) in-place using quadratic time, or (b) in the run-length compressed setting using O(nlg⁡r/lg⁡lg⁡r)O(n \lg r / \lg \lg r) time with O(rlg⁡n)O(r \lg n) bits of words, where rr is the sum of character runs in the BWT and the BBWT.

Research graph

See the researcher in context

Open full explorer

Inspect adjacent papers, topics, institutions and collaborators without losing the researcher page.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.