Demo Data from SIGIR 2026 / reviewers in the wild / expert
Hideo Bannai
dblp:44/2355
· DBLP profile ↗
170ranked-venue papers
39as first author
50since 2021 · last 2026
0000-0002-6856-5185ORCID · corroborated
Domains — the database's venue-derived domains; a paper can count in several
Theory of computation · 71 · 17 first-author · 29 since 2021Graphics, computer vision, multimedia, augmented reality and games · 45 · 11 first-author · 10 since 2021Databases, data management, data science and information retrieval · 42 · 7 first-author · 13 since 2021Applied, interdisciplinary, general and emerging computing · 24 · 6 first-author · 2 since 2021Artificial intelligence and machine learning · 14 · 4 first-author · 1 since 2021
Expertise — from the expertise taxonomy: the topics of the expert's papers under the CCF categories. A weight counts papers with recency: 1 for a paper about the topic, 0.3 when the topic is its context, halved every five years.
| Theoretical computer science
10 papers |
Algorithms and data structures · 74% Coding theory · 17% Computational complexity · 9% | |
| Interdisciplinary, comprehensive, and emerging computing
2 papers |
Bioinformatics and computational biology · 100% |
Topics — the 17 heaviest of 18, each with the papers that count most for it
| Topic | Weight | Papers | Last | Evidence papers |
|---|---|---|---|---|
Algorithms and data structures › sequence algorithms
string algorithms |
3.2 | 6 | 2026 | Computing NP-hard Repetitiveness Measures via MAX-SAT · ACM Trans. Algorithms 2026 Computing maximal palindromes in non-standard matching models · Inf. Comput. 2025 Order-preserving pattern matching indeterminate strings · Inf. Comput. 2022 |
Algorithms and data structures › sequence algorithms › string algorithms
string matching |
1.4 | 2 | 2025 | Computing maximal palindromes in non-standard matching models · Inf. Comput. 2025 Order-preserving pattern matching indeterminate strings · Inf. Comput. 2022 |
Computational complexity › computational models
straight-line program |
1.0 | 1 | 2026 | Computing NP-hard Repetitiveness Measures via MAX-SAT · ACM Trans. Algorithms 2026 |
Algorithms and data structures › sequence algorithms › string algorithms › string compression
string attractor |
1.0 | 1 | 2026 | Computing NP-hard Repetitiveness Measures via MAX-SAT · ACM Trans. Algorithms 2026 |
Algorithms and data structures › sequence algorithms › string algorithms
palindrome recognition |
0.9 | 1 | 2025 | Computing maximal palindromes in non-standard matching models · Inf. Comput. 2025 |
Coding theory › source coding
burrows-wheeler transform |
0.8 | 1 | 2024 | Constructing and indexing the bijective and extended Burrows-Wheeler transform · Inf. Comput. 2024 |
Algorithms and data structures › sequence algorithms › string algorithms
string indexing |
0.8 | 1 | 2024 | Constructing and indexing the bijective and extended Burrows-Wheeler transform · Inf. Comput. 2024 |
Algorithms and data structures › sequence algorithms › string algorithms › string matching
order-preserving pattern matching |
0.6 | 1 | 2022 | Order-preserving pattern matching indeterminate strings · Inf. Comput. 2022 |
Algorithms and data structures › data structure design › search structures › search trees
trie |
0.6 | 1 | 2022 | c-trie++: A dynamic trie tailored for fast prefix searches · Inf. Comput. 2022 |
Coding theory › source coding
grammar-based compression |
0.6 | 2 | 2021 | The Smallest Grammar Problem Revisited · IEEE Trans. Inf. Theory 2021 Detecting regularities on grammar-compressed strings · Inf. Comput. 2015 |
Coding theory › source coding › grammar-based compression
smallest grammar problem |
0.5 | 1 | 2021 | The Smallest Grammar Problem Revisited · IEEE Trans. Inf. Theory 2021 |
Bioinformatics and computational biology
sequence analysis |
0.3 | 1 | 2025 | Computing maximal palindromes in non-standard matching models · Inf. Comput. 2025 |
Algorithms and data structures › sequence algorithms › string algorithms › string compression
grammar-compressed strings |
0.2 | 1 | 2015 | Detecting regularities on grammar-compressed strings · Inf. Comput. 2015 |
Coding theory › distributed storage › distributed storage codes
repair |
0.1 | 1 | 2021 | The Smallest Grammar Problem Revisited · IEEE Trans. Inf. Theory 2021 |
Algorithms and data structures › sequence algorithms › string algorithms
lempel-ziv factorization |
0.1 | 1 | 2017 | The "Runs" Theorem · SIAM J. Comput. 2017 |
Bioinformatics and computational biology › protein function prediction
protein subcellular localization prediction |
0.0 | 1 | 2002 | Extensive feature detection of N-terminal protein sorting signals · Bioinform. 2002 |
Automated reasoning and model checking › automated reasoning
rule-based reasoning |
0.0 | 1 | 2002 | Extensive feature detection of N-terminal protein sorting signals · Bioinform. 2002 |
Methods — techniques the papers use, named apart from their topics
exact computation · 1.0MaxSAT · 1.0order-preserving matching · 0.6linear-time algorithm · 0.5upper and lower bounds · 0.5combinatorial characterization · 0.3regularity detection · 0.2pattern matching · 0.2lyndon factorization · 0.2feature engineering · 0.1rule search · 0.0
| Year | Publication | Venue | Position |
|---|---|---|---|
| 2026 | The Smallest String Attractors of Fibonacci and Period-Doubling WordsabstractA string attractor of a string T[1..|T|] is a set of positions Γ of T such that any substring w of T has an occurrence that crosses a position in Γ, i.e., there is a position i such that w = T[i..i+|w|-1] and the intersection [i,i+|w|-1]∩ Γ is nonempty. The size of the smallest string attractor of Fibonacci words is known to be 2. We completely characterize the set of all smallest string attractors of Fibonacci words, and show a recursive formula describing the 2^{n-4} + 2^{⌈n/2⌉ - 2} distinct position pairs that are the smallest string attractors of the nth Fibonacci word for n ≥ 7. Similarly, the size of the smallest string attractor of period-doubling words is known to be 2. We also completely characterize the set of all smallest string attractors of period-doubling words, and show a formula describing the two distinct position pairs that are the smallest string attractors of the nth period-doubling word for n ≥ 2. Our results show that strings with the same smallest attractor size can have a drastically different number of distinct smallest attractors. Mutsunori Banbara, Hideo Bannai, Peaker Guo, Dominik Köppl, Takuya Mieno, Yoshio Okamoto |
CPM | 2 |
| 2026 | Sensitivity of Repetitiveness Measures to String ReversalabstractWe study the impact that string reversal can have on several repetitiveness measures. First, we exhibit an infinite family of strings where the number, r, of runs in the run-length encoding of the Burrows-Wheeler transform (BWT) can increase additively by Θ(n) when reversing the string. This substantially improves the known Ω(log n) lower-bound for the additive sensitivity of r and it is asymptotically tight. We generalize our result to other variants of the BWT, including the variant with an appended end-of-string symbol and the bijective BWT. We show that an analogous result holds for the size z of the Lempel-Ziv 77 (LZ) parsing of the text, and also for some of its variants, including the non-overlapping LZ parsing, and the LZ-end parsing. Moreover, we describe a family of strings for which the ratio z(w^R)/z(w) approaches 3 from below as |w| → ∞. We also show an asymptotically tight lower-bound of Θ(n) for the additive sensitivity of the size v of the smallest lexicographic parsing to string reversal. Finally, we show that the multiplicative sensitivity of v to reversing the string is Θ(log n), and this lower-bound is also tight. Overall, our results expose the limitations of repetitiveness measures that are widely used in practice, against string reversal - a simple and natural data transformation. Hideo Bannai, Yuto Fujie, Peaker Guo, Shunsuke Inenaga, Yuto Nakashima 0001, Simon J. Puglisi, Cristian Urbina |
CPM | 1 |
| 2026 | On Occurrence-Preserving MorphismsabstractA morphism is a mapping that transforms words through letter-wise substitution, where each symbol is consistently replaced by a fixed word. In the field of combinatorics on words, one topic that has attracted considerable attention is the characterization of morphisms that preserve specific properties, such as overlap-freeness, square-freeness, lexicographic order, and primitivity. Continuing this direction, we initiate the study on occurrence-preserving morphisms, which address the following fundamental question: given a morphism ϕ, two words u and v, and k ≥ 1, under what conditions does the number of occurrences of u in v equal the number of occurrences of ϕ^k(u) in ϕ^k(v)? To answer this question, we introduce the notion of interference-free morphisms, examine their properties, and uncover a connection to recognizable morphisms. We then present a precise characterization of occurrence-preserving morphisms in terms of interference-freeness. As applications of our characterization, we first show that there exists a bijection between the starting positions of the occurrences of u in v and those of ϕ^k(u) in ϕ^k(v). We then apply the characterization to the Fibonacci and Thue-Morse words to identify their minimal unique substrings (MUSs). Finally, we exploit the connection between MUSs and net occurrences to simplify existing proofs on net occurrences in these words. Kaisei Kishi, Peaker Guo, Cristian Urbina, Hideo Bannai |
CPM | 4 |
| 2026 | Optimal Dictionary-Based Compression with Answer Set Programming: Encodings and Empirical AnalysisabstractWe develop an Answer Set Programming (ASP)-based approach for computing the smallest bidirectional macro schemes (BMSs), a fundamental NP-hard optimization problem in dictionary-based compression. Our approach relies on high-level ASP encodings and delegates both the grounding and solving tasks to an off-the-shelf ASP solver. The proposed encoding is compact and extensible, and leverages advanced ASP techniques to improve scalability, including ASP modulo acyclicity and refined declarative encodings of acyclicity constraints. We further show that our ASP encoding can be naturally extended to compute the smallest straight-line programs (SLPs), another important NP-hard measure of repetitiveness. Furthermore, we establish the competitiveness of our approach by empirically contrasting it with a more dedicated MaxSAT-based approach. Mutsunori Banbara, Hideo Bannai, Takashi Horiyama, Dominik Köppl, Takuya Mieno, Hidetomo Nabeshima |
KR | 2 |
| 2026 | Bijective BWT Based Compression SchemesabstractAbstract We investigate properties of the bijective Burrows-Wheeler transform (BBWT). We show that for any string w , a bidirectional macro scheme of size $$ O ( r_B{} )$$ O ( r B ) can be induced from the BBWT of w , where $$ r_B{} $$ r B is the number of maximal same-symbol runs in the BBWT. We also show that $$ r_B{} = O ( z \, \log ^{ 2 }\, n ) $$ r B = O ( z log 2 n ) , where n is the length of w and z is the number of Lempel-Ziv 77 factors of w . Then, we show a separation between BBWT and BWT by a family of strings with $$ r_B{} = \Omega ( \log \, n ) $$ r B = Ω ( log n ) but having only $$ r= 2 $$ r = 2 , where $${r}$$ r is the maximal same-symbol runs in the standard Burrows–Wheeler transform (BWT). However, we observe that the smallest $$ r_B{} $$ r B among all cyclic rotations of w is always at most $$ r{} $$ r . While computing an optimal rotation yielding the smallest $$ r_B$$ r B in $$ o ( n ^ {2} ) $$ o ( n 2 ) time remains an open problem, we show how to compute the Lyndon factorizations – a component for computing BBWT – of all cyclic rotations in O ( n ) time using right and left Lyndon trees. We also show that the optimal rotations can be computed in $$ \tilde{O} (nh) $$ O ~ ( n h ) time, where Golnaz Badkobeh, Hideo Bannai, Tomohiro I, Dominik Köppl |
Theory Comput. Syst. | 2 |
| 2026 | NP-Completeness on the Length of Double-Arrays and the Sparse Matrix Problem with at Least Logarithmic Alphabets/Widths
Hideo Bannai, Keisuke Goto 0001, Shunsuke Kanda, Dominik Köppl |
Theory Comput. Syst. | 1 |
| 2026 | Computing NP-hard Repetitiveness Measures via MAX-SATabstractRepetitiveness measures reveal profound characteristics of datasets, and give rise to compressed data structures and algorithms working in compressed space. Alas, the computation of some of these measures is NP-hard, and straight-forward computation is infeasible for datasets of even small sizes. Three such measures are the smallest size of a string attractor, the smallest size of a bidirectional macro scheme, and the smallest size of a straight-line program. While a vast variety of implementations for heuristically computing approximations exist, exact computation of these measures has received little to no attention. In this article, we present MAX-SAT formulations that provide the first non-trivial implementations for exact computation of smallest string attractors, smallest bidirectional macro schemes, and smallest straight-line programs. Computational experiments show that our implementations work for texts of length up to a few hundred for straight-line programs and bidirectional macro schemes, and texts even over a million for string attractors. Hideo Bannai, Keisuke Goto 0001, Masakazu Ishihata, Shunsuke Kanda, Dominik Köppl, Takaaki Nishimoto, Bernardo Subercaseaux |
ACM Trans. Algorithms | 1 |
| 2026 | Grammar index by induced suffix sorting
Tooru Akagi, Dominik Köppl, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Theor. Comput. Sci. | 5 |
| 2025 | Text Indexing for Simple Regular ExpressionsabstractWe study the problem of indexing a text T[1..n] ∈ Σn so that, later, given a query regular expression pattern R of size m = |R|, we can report all the occ substrings T[i..j] of T matching R. The problem is known to be hard for arbitrary patterns R, so in this paper, we consider the following two types of patterns. (1) Character-class Kleene-star patterns of the form P1D∗P2, where P1 and P2 are strings and D = {c1, . . ., ck} ⊂ Σ is a character-class (shorthand for the regular expression (c1|c2|··· |ck)) and (2) String Kleene-star patterns of the form P1P∗P2 where P, P1 and P2 are strings. In case (1), we describe an index of O(nlog1+ε n) space (for any constant ε > 0) solving queries in time O(m + log n/log log n + occ) on constant-sized alphabets. We also describe a general solution for any alphabet size. This result is conditioned on the existence of an anchor: a character of P1P2 that does not belong to D. We justify this assumption by proving that no efficient indexing solution can exist if an anchor is not present unless the Set Disjointness Conjecture fails. In case (2), we describe an index of size O(n) answering queries in time O(m + (occ + 1) logε n) on any alphabet size. Hideo Bannai, Philip Bille, Inge Li Gørtz, Gad M. Landau, Gonzalo Navarro 0001, Nicola Prezza, Teresa Anna Steiner, Simon R. Tarnow |
CPM | 1 |
| 2025 | On the Compressiveness of the Burrows-Wheeler TransformabstractThe Burrows-Wheeler transform (BWT) is a reversible transform that converts a string w into another string BWT(w). The size of the run-length encoded BWT (RLBWT) can be interpreted as a measure of repetitiveness in the class of representations called dictionary compression which are essentially representations based on copy and paste operations. In this paper, we shed new light on the compressiveness of BWT and the bijective BWT (BBWT). We first extend previous results on the relations of their run-length compressed sizes r and r_B. We also show that the so-called "clustering effect" of BWT and BBWT can be captured by measures other than empirical entropy or run-length encoding. In particular, we show that BWT and BBWT do not increase the repetitiveness of the string with respect to various measures based on dictionary compression by more than a polylogarithmic factor. Furthermore, we show that there exists an infinite family of strings that are maximally incompressible by any dictionary compression measure, but become very compressible after applying BBWT. An interesting implication of this result is that it is possible to transcend dictionary compression in some cases by simply applying BBWT before applying dictionary compression. Hideo Bannai, Tomohiro I, Yuto Nakashima 0001 |
CPM | 1 |
| 2025 | Nyldon Factorization of Thue-Morse Words and Fibonacci Words
Kaisei Kishi, Kazuki Kai, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai |
SPIRE | 5 |
| 2025 | Counting Distinct (Non-)crossing Substrings
Haruki Umezaki, Hiroki Shibata 0001, Dominik Köppl, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai |
SPIRE | 6 |
| 2025 | Computing maximal palindromes in non-standard matching modelsabstractPalindromes are popular and important objects in textual data processing, bioinformatics, and combinatorics on words. Let S = X a Y be a string where X and Y are of the same length, and a is either a single character or the empty string. Then, there exist two alternative definitions for palindromes: S is said to be a palindrome if S is equal to its reversal S R (Reversal-based definition); or if its right-arm Y is equal to the reversal of its left-arm X R (Symmetry-based definition). It is clear that if the “equality” (≈) used in both definitions is exact character matching (=), then the two definitions are the same. However, if we apply other string-equality criteria ≈, including the complementary-matching model for biological sequences, the Cartesian-tree model [Park et al., TCS 2020], the parameterized model [Baker, JCSS 1996], the order-preserving model [Kim et al., TCS 2014], and the palindromic-structure model [I et al., TCS 2013], then are the reversal-based palindromes and the symmetry-based palindromes the same? To the best of our knowledge, no previous work has considered or answered this natural question. In this paper, we first provide answers to this question, and then present efficient algorithms for computing all maximal palindromes under the non-standard matching models in a given string. After confirming that Gusfield's offline suffix-tree-based algorithm for computing maximal symmetry-based palindromes can be readily extended to the aforementioned matching models, we show how to extend Manacher's online algorithm for computing maximal reversal-based palindromes in linear time for all the aforementioned matching models. Takuya Mieno, Mitsuru Funakoshi, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Inf. Comput. | 5 |
| 2024 | Maintaining the Size of LZ77 on Semi-Dynamic StringsabstractA Longest Common Extension (LCE) query on a text $T$ of length $N$ asks for the length of the longest common prefix of suffixes starting at given two positions. We show that the signature encoding $\mathcal{G}$ of size $w = O(\min(z \log N \log^* M, N))$ [Mehlhorn et al., Algorithmica 17(2):183-198, 1997] of $T$, which can be seen as a compressed representation of $T$, has a capability to support LCE queries in $O(\log N + \log \ell \log^* M)$ time, where $\ell$ is the answer to the query, $z$ is the size of the Lempel-Ziv77 (LZ77) factorization of $T$, and $M \geq 4N$ is an integer that can be handled in constant time under word RAM model. In compressed space, this is the fastest deterministic LCE data structure in many cases. Moreover, $\mathcal{G}$ can be enhanced to support efficient update operations: After processing $\mathcal{G}$ in $O(w f_{\mathcal{A}})$ time, we can insert/delete any (sub)string of length $y$ into/from an arbitrary position of $T$ in $O((y+ \log N\log^* M) f_{\mathcal{A}})$ time, where $f_{\mathcal{A}} = O(\min \{ \frac{\log\log M \log\log w}{\log\log\log M}, \sqrt{\frac{\log w}{\log\log w}} \})$. This yields the first fully dynamic LCE data structure. We also present efficient construction algorithms from various types of inputs: We can construct $\mathcal{G}$ in $O(N f_{\mathcal{A}})$ time from uncompressed string $T$; in $O(n \log\log n \log N \log^* M)$ time from grammar-compressed string $T$ represented by a straight-line program of size $n$; and in $O(z f_{\mathcal{A}} \log N \log^* M)$ time from LZ77-compressed string $T$ with $z$ factors. On top of the above contributions, we show several applications of our data structures which improve previous best known results on grammar-compressed string processing. Hideo Bannai, Panagiotis Charalampopoulos, Jakub Radoszewski |
CPM | 1 |
| 2024 | On the Hardness of Smallest RLSLPs and Collage SystemsabstractWe show that computing the smallest run-length straight line program (RLSLP) and the smallest collage system is NP-hard. For computing the smallest RLSLP, we give an encoding in MAX-SAT. Akiyoshi Kawamoto, Tomohiro I, Dominik Köppl, Hideo Bannai |
DCC | 4 |
| 2024 | Height-Bounded Lempel-Ziv EncodingsabstractWe introduce height-bounded LZ encodings (LZHB), a new family of compressed representations that are variants of Lempel-Ziv parsings with a focus on bounding the worst-case access time to arbitrary positions in the text directly via the compressed representation. An LZ-like encoding is a partitioning of the string into phrases of length $1$ which can be encoded literally, or phrases of length at least $2$ which have a previous occurrence in the string and can be encoded by its position and length. An LZ-like encoding induces an implicit referencing forest on the set of positions of the string. An LZHB encoding is an LZ-like encoding where the height of the implicit referencing forest is bounded. An LZHB encoding with height constraint $h$ allows access to an arbitrary position of the underlying text using $O(h)$ predecessor queries. While computing the smallest LZHB encoding efficiently seems to be difficult [Cicalese \& Ugazio 2024, arxiv], we give the first linear time algorithm for strings over a constant size alphabet that computes the greedy LZHB encoding, i.e., the string is processed from beginning to end, and the longest prefix of the remaining string that can satisfy the height constraint is taken as the next phrase. Our algorithms significantly improve both theoretically and practically, the very recently and independently proposed algorithms by Lipták et al. (arxiv, to appear at CPM 2024). We also analyze the size of height bounded LZ encodings in the context of repetitiveness measures, and show for some constant $c$, the size $z_{HB}$ of the optimal LZHB encoding with height bound $c\log n$ is $O(g_{rl})$, where $g_{rl}$ is the size of the smallest run-length grammar. We also show $z_{HB} = o(g_{rl})$ for some family of strings, making $z_{HB}$ one of the smallest known repetitiveness measures for which $O({\sf polylog} n)$ time access is possible using linear space. Hideo Bannai, Mitsuru Funakoshi, Diptarama, Myuji Matsuda, Simon J. Puglisi |
ESA | 1 |
| 2024 | Computing Maximal Palindromes in Non-standard Matching Models
Mitsuru Funakoshi, Takuya Mieno, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
IWOCA | 5 |
| 2024 | Edit and Alphabet-Ordering Sensitivity of Lex-ParseabstractWe investigate the compression sensitivity [Akagi et al., 2023] of lex-parse [Navarro et al., 2021] for two operations: (1) single character edit and (2) modification of the alphabet ordering, and give tight upper and lower bounds for both operations. For both lower bounds, we use the family of Fibonacci words. For the bounds on edit operations, our analysis makes heavy use of properties of the Lyndon factorization of Fibonacci words to characterize the structure of lex-parse. Yuto Nakashima 0001, Dominik Köppl, Mitsuru Funakoshi, Shunsuke Inenaga, Hideo Bannai |
MFCS | 5 |
| 2024 | Bijective BWT Based Compression Schemes
Golnaz Badkobeh, Hideo Bannai, Dominik Köppl |
SPIRE | 2 |
| 2024 | On the Number of Non-equivalent Parameterized Squares in a String
Rikuya Hamai, Kazushi Taketsugu, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai |
SPIRE | 5 |
| 2024 | Computing Longest Lyndon Subsequences and Longest Common Lyndon SubsequencesabstractAbstract Given a string T of length n whose characters are drawn from an ordered alphabet of size $$\sigma $$ σ , its longest Lyndon subsequence is a maximum-length subsequence of T that is a Lyndon word. We propose algorithms for finding such a subsequence in $$\mathop {}\mathopen {}\mathcal {O}\mathopen {}(n^3)$$ O ( n 3 ) time with $$\mathop {}\mathopen {}\mathcal {O}\mathopen {}(n)$$ O ( n ) space, or online in $$\mathop {}\mathopen {}\mathcal {O}\mathopen {}(n^3)$$ O ( n 3 ) space and time. Our first result can be extended to find the longest common Lyndon subsequence of two strings of length at most n in $$\mathop {}\mathopen {}\mathcal {O}\mathopen {}(n^4 \sigma )$$ O ( n 4 σ ) time using $$\mathop {}\mathopen {}\mathcal {O}\mathopen {}(n^2)$$ O ( n 2 ) space. Hideo Bannai, Tomohiro I, Tomasz Kociumaka, Dominik Köppl, Simon J. Puglisi |
Algorithmica | 1 |
| 2024 | Constructing and indexing the bijective and extended Burrows-Wheeler transform
Hideo Bannai, Juha Kärkkäinen, Dominik Köppl, Marcin Piatkowski |
Inf. Comput. | 1 |
| 2024 | Faster space-efficient STR-IC-LCS computation
Yuki Yonemoto, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai |
Theor. Comput. Sci. | 4 |
| 2023 | Optimal LZ-End Parsing Is HardabstractLZ-End is a variant of the well-known Lempel-Ziv parsing family such that each phrase of the parsing has a previous occurrence, with the additional constraint that the previous occurrence must end at the end of a previous phrase. LZ-End was initially proposed as a greedy parsing, where each phrase is determined greedily from left to right, as the longest factor that satisfies the above constraint~[Kreft & Navarro, 2010]. In this work, we consider an optimal LZ-End parsing that has the minimum number of phrases in such parsings. We show that a decision version of computing the optimal LZ-End parsing is NP-complete by showing a reduction from the vertex cover problem. Moreover, we give a MAX-SAT formulation for the optimal LZ-End parsing adapting an approach for computing various NP-hard repetitiveness measures recently presented by [Bannai et al., 2022]. We also consider the approximation ratio of the size of greedy LZ-End parsing to the size of the optimal LZ-End parsing, and give a lower bound of the ratio which asymptotically approaches $2$. Hideo Bannai, Mitsuru Funakoshi, Kazuhiro Kurita, Yuto Nakashima 0001, Kazuhisa Seto, Takeaki Uno |
CPM | 1 |
| 2023 | Lyndon Arrays in Sublinear Time
Hideo Bannai, Jonas Ellert |
ESA | 1 |
| 2023 | Space-Efficient STR-IC-LCS Computation
Yuuki Yonemoto, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai |
SOFSEM | 4 |
| 2023 | Linear-Time Computation of Generalized Minimal Absent Words for Multiple Strings
Kouta Okabe, Takuya Mieno, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai |
SPIRE | 5 |
| 2023 | Acceleration of FM-Index Queries Through Prefix-Free ParsingabstractFM-indexes are a crucial data structure in DNA alignment, for example, but searching with them usually takes at least one random access per character in the query pattern. Ferragina and Fischer [5] observed in 2007 that word-based indexes often use fewer random accesses than character-based indexes, and thus support faster searches. Since DNA lacks natural word-boundaries, however, it is necessary to parse it somehow before applying word-based FM-indexing. Last year, Deng et al. [3] proposed parsing genomic data by induced suffix sorting, and showed the resulting word-based FM-indexes support faster counting queries than standard FM-indexes when patterns are a few thousand characters or longer. In this paper we show that using prefix-free parsing-which takes parameters that let us tune the average length of the phrases-instead of induced suffix sorting, gives a significant speedup for patterns of only a few hundred characters. We implement our method and demonstrate it is between 3 and 18 times faster than competing methods on queries to GRCh38. And was consistently faster on queries made to 25,000, 50,000 and 100,000 SARS-CoV-2 genomes. Hence, it is very clear that our method accelerates the performance of count over all state-of-the-art methods with a minor increase in the memory. The source code for PFP-FM is available at https://github.com/marco-oliva/afm. Aaron Hong, Marco Oliva, Dominik Köppl, Hideo Bannai, Christina Boucher 0001, Travis Gagie |
WABI | 4 |
| 2023 | Longest bordered and periodic subsequencesabstractWe present an algorithm computing the longest periodic subsequence of a string of length n in O(n7) time with O(n3) space. We obtain improvements when restricting the exponents or extending the search allowing the reported subsequence to be subperiodic down to O(n2) time and O(n) space. By allowing subperiodic subsequences in the output, the task becomes finding the longest bordered subsequence, for which we devise a conditional lower bound. Hideo Bannai, Tomohiro I, Dominik Köppl |
Inf. Process. Lett. | 1 |
| 2023 | Linear-time computation of DAWGs, symmetric indexing structures, and MAWs for integer alphabets
Yuta Fujishige, Yuki Tsujimaru, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Theor. Comput. Sci. | 4 |
| 2022 | Computing NP-Hard Repetitiveness Measures via MAX-SATabstractRepetitiveness measures reveal profound characteristics of datasets, and give rise to compressed data structures and algorithms working in compressed space. Alas, the computation of some of these measures is NP-hard, and straight-forward computation is infeasible for datasets of even small sizes. Three such measures are the smallest size of a string attractor, the smallest size of a bidirectional macro scheme, and the smallest size of a straight-line program. While a vast variety of implementations for heuristically computing approximations exist, exact computation of these measures has received little to no attention. In this paper, we present MAX-SAT formulations that provide the first non-trivial implementations for exact computation of smallest string attractors, smallest bidirectional macro schemes, and smallest straight-line programs. Computational experiments show that our implementations work for texts of length up to a few hundred for straight-line programs and bidirectional macro schemes, and texts even over a million for string attractors. Hideo Bannai, Keisuke Goto 0001, Masakazu Ishihata, Shunsuke Kanda, Dominik Köppl, Takaaki Nishimoto |
ESA | 1 |
| 2022 | Computing Longest (Common) Lyndon Subsequences
Hideo Bannai, Tomohiro I, Tomasz Kociumaka, Dominik Köppl, Simon J. Puglisi |
IWOCA | 1 |
| 2022 | Online Algorithms for Finding Distinct Substrings with Length and Multiple Prefix and Suffix Conditions
Laurentius Leonard, Shunsuke Inenaga, Hideo Bannai, Takuya Mieno |
SPIRE | 3 |
| 2022 | Computing Minimal Unique Substrings for a Sliding WindowabstractAbstract A substring u of a string T is called a minimal unique substring (MUS) of T if u occurs exactly once in T and any proper substring of u occurs at least twice in T. In this paper, we study the problem of computing MUSs for a sliding window over a given string T. We first show how the set of MUSs can change when the window slides over T. We then present an $$O(n\log \sigma ')$$ O ( n log σ ′ ) -time and O(d)-space algorithm to compute MUSs for a sliding window of size d over the input string T of length n, where $$\sigma '\le d$$ σ ′ ≤ d is the maximum number of distinct characters in every window. Takuya Mieno, Yuta Fujishige, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Algorithmica | 5 |
| 2022 | Order-preserving pattern matching indeterminate strings
Luís M. S. Russo, Diogo M. Costa, Rui Henriques, Hideo Bannai, Alexandre P. Francisco |
Inf. Comput. | 4 |
| 2022 | c-trie++: A dynamic trie tailored for fast prefix searchesabstractGiven a dynamic set K of k strings of total length n whose characters are drawn from an alphabet of size σ , a keyword dictionary is a data structure built on K that provides lookup, prefix search, and update operations on K . Under the assumption that α = w / lg σ characters fit into a single machine word of w bits, we propose a keyword dictionary that represents K in either n lg σ + Θ ( k lg n ) or | T | lg σ + Θ ( k w ) bits of space, where | T | is the number of nodes of a trie representing K . It supports all operations in O ( m / α + lg α ) expected time on an input string of length m in the word RAM model. An evaluation of our implementation highlights the practical usefulness of the proposed data structure, especially for prefix searches — one of the most essential keyword dictionary operations. Kazuya Tsuruta, Dominik Köppl, Shunsuke Kanda, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Inf. Comput. | 6 |
| 2022 | Palindromic trees for a sliding window and its applicationsabstractThe palindromic tree (a.k.a. eertree) for a string S of length n is a tree-like data structure that represents the set of all distinct palindromic substrings of S, using O(n) space [Rubinchik and Shur, 2018]. It is known that, when S is over an alphabet of size σ and is given in an online manner, then the palindromic tree of S can be constructed in O(nlogσ) time with O(n) space. In this paper, we consider the sliding window version of the problem: For a sliding window of length at most d, we present two versions of an algorithm which maintains the palindromic tree of size O(d) for every sliding window S[i..j] over S, where 1≤j−i+1≤d. The first version works in O(nlogσ′) time with O(d) space where σ′≤d is the maximum number of distinct characters in the windows, and the second one works in O(n+dσ) time with (d+2)σ+O(d) space. We also show how our algorithms can be applied to efficient computation of minimal unique palindromic substrings (MUPS) and minimal absent palindromic words (MAPW) for a sliding window. Takuya Mieno, Kiichi Watanabe, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Inf. Process. Lett. | 5 |
| 2022 | Factorizing Strings into Repetitions
Hiroe Inoue, Yoshiaki Matsuoka, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Theory Comput. Syst. | 5 |
| 2022 | Combinatorics of minimal absent words for a sliding windowabstractA string w is called a minimal absent word (MAW) for another string T if w does not occur in T but the proper substrings of w occur in T. For example, let Σ={a,b,c} be the alphabet. Then, the set of MAWs for string w=abaab is {aaa,aaba,bab,bb,c}. In this paper, we study combinatorial properties of MAWs in the sliding window model, namely, how the set of MAWs changes when a sliding window of fixed length d is shifted over the input string T of length n, where 1≤d Tooru Akagi, Yuki Kuhara, Takuya Mieno, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Theor. Comput. Sci. | 6 |
| 2022 | Parameterized DAWGs: Efficient constructions and bidirectional pattern searchesabstractTwo strings $x$ and $y$ over $\Sigma \cup \Pi$ of equal length are said to \emph{parameterized match} (\emph{p-match}) if there is a renaming bijection $f:\Sigma \cup \Pi \rightarrow \Sigma \cup \Pi$ that is identity on $\Sigma$ and transforms $x$ to $y$ (or vice versa). The \emph{p-matching} problem is to look for substrings in a text that p-match a given pattern. In this paper, we propose \emph{parameterized suffix automata} (\emph{p-suffix automata}) and \emph{parameterized directed acyclic word graphs} (\emph{PDAWGs}) which are the p-matching versions of suffix automata and DAWGs. While suffix automata and DAWGs are equivalent for standard strings, we show that p-suffix automata can have $\Theta(n^2)$ nodes and edges but PDAWGs have only $O(n)$ nodes and edges, where $n$ is the length of an input string. We also give an $O(n |\Pi| \log (|\Pi| + |\Sigma|))$-time $O(n)$-space algorithm that builds the PDAWG in a left-to-right online manner. As a byproduct, it is shown that the \emph{parameterized suffix tree} for the reversed string can also be built in the same time and space, in a right-to-left online manner. This duality also leads us to two further efficient algorithms for p-matching: Given the parameterized suffix tree for the reversal of the input string $T$, one can build the PDAWG of $T$ in $O(n)$ time in an offline manner; One can perform \emph{bidirectional} p-matching in $O(m \log (|\Pi|+|\Sigma|) + \mathit{occ})$ time using $O(n)$ space, where $m$ denotes the pattern length and $\mathit{occ}$ is the number of pattern occurrences in the text $T$. Katsuhito Nakashima, Noriki Fujisato, Diptarama, Yuto Nakashima 0001, Ryo Yoshinaka, Shunsuke Inenaga, Hideo Bannai, Ayumi Shinohara, Masayuki Takeda |
Theor. Comput. Sci. | 7 |
| 2021 | The Parameterized Suffix Tray
Noriki Fujisato, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
CIAC | 4 |
| 2021 | Repetitions in Strings: A "Constant" Problem (Invited Talk)abstractA run in a string is a maximal periodic substring. For example, the string $\texttt{bananatree}$ contains the runs $\texttt{anana} = (\texttt{an})^{3/2}$ and $\texttt{ee} = \texttt{e}^2$. There are less than $n$ runs in any length-$n$ string, and computing all runs for a string over a linearly-sortable alphabet takes $\mathcal{O}(n)$ time (Bannai et al., SODA 2015). Kosolobov conjectured that there also exists a linear time runs algorithm for general ordered alphabets (Inf. Process. Lett. 2016). The conjecture was almost proven by Crochemore et al., who presented an $\mathcal{O}(nα(n))$ time algorithm (where $α(n)$ is the extremely slowly growing inverse Ackermann function). We show how to achieve $\mathcal{O}(n)$ time by exploiting combinatorial properties of the Lyndon array, thus proving Kosolobov's conjecture. Hideo Bannai |
CPM | 1 |
| 2021 | Constructing the Bijective and the Extended Burrows-Wheeler Transform in Linear TimeabstractThe Burrows-Wheeler transform (BWT) is a permutation whose applications are prevalent in data compression and text indexing. The bijective BWT (BBWT) is a bijective variant of it. Although it is known that the BWT can be constructed in linear time for integer alphabets by using a linear time suffix array construction algorithm, it was up to now only conjectured that the BBWT can also be constructed in linear time. We confirm this conjecture in the word RAM model by proposing a construction algorithm that is based on SAIS, improving the best known result of O(n lg n / lg lg n) time to linear. Since we can reduce the problem of constructing the extended BWT to constructing the BBWT in linear time, we obtain a linear-time algorithm computing the extended BWT at the same time. Hideo Bannai, Juha Kärkkäinen, Dominik Köppl, Marcin Piatkowski |
CPM | 1 |
| 2021 | Grammar Index by Induced Suffix Sorting
Tooru Akagi, Dominik Köppl, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
SPIRE | 5 |
| 2021 | A Separation of γ and b via Thue-Morse Words
Hideo Bannai, Mitsuru Funakoshi, Tomohiro I, Dominik Köppl, Takuya Mieno, Takaaki Nishimoto |
SPIRE | 1 |
| 2021 | Longest Common Rollercoasters
Kosuke Fujita, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
SPIRE | 4 |
| 2021 | Longest previous overlapping factor array
Hideo Bannai, Shunsuke Inenaga, Neerja Mhaskar |
Inf. Process. Lett. | 1 |
| 2021 | Computing longest palindromic substring after single-character or block-wise edits
Mitsuru Funakoshi, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Theor. Comput. Sci. | 4 |
| 2021 | Efficiently computing runs on a trieabstractA maximal repetition, or run, in a string, is a maximal periodic substring whose smallest period is at most half the length of the substring. In this paper, we consider runs that correspond to a path on a trie, or in other words, on a rooted edge-labeled tree where each edge is labeled with a single symbol, and the endpoints of the path must be a descendant/ancestor of the other. For a trie with n edges, we show that the number of runs is less than n. We also show an asymptotic lower bound on the maximum density of runs in tries: limn→∞ρT(n)/n>0.9932348 where ρT(n) is the maximum number of runs in a trie with n edges. Furthermore, we also show an O(nloglogn) time and O(n) space algorithm for finding all runs. Ryo Sugahara, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Theor. Comput. Sci. | 4 |
| 2021 | The Smallest Grammar Problem RevisitedabstractIn a seminal paper, Charikar et al. derive upper and lower bounds on the approximation ratios for several grammar-based compressors, but in all cases there is a gap between the lower and upper bound. Here the gaps for LZ78 and BISECTION are closed by showing that the approximation ratio of LZ78 is Θ((n/log n)2/3), whereas the approximation ratio of BISECTION is Θ(√(n/log n)). In addition, the lower bound for RePair is improved from Ω(√(log n)) to Ω(log n/log log n). Finally, results of Arpe and Reischuk relating grammar-based compression for arbitrary alphabets and binary alphabets are improved. Hideo Bannai, Momoko Hirayama, Danny Hucke, Shunsuke Inenaga, Artur Jez, Markus Lohrey, Carl Philipp Reh |
IEEE Trans. Inf. Theory | 1 |
| 2020 | Detecting k-(Sub-)Cadences and Equidistant Subsequence OccurrencesabstractThe equidistant subsequence pattern matching problem is considered. Given a pattern string P and a text string T, we say that P is an equidistant subsequence of T if P is a subsequence of the text such that consecutive symbols of P in the occurrence are equally spaced. We can consider the problem of equidistant subsequences as generalizations of (sub-)cadences. We give bit-parallel algorithms that yield o(n²) time algorithms for finding k-(sub-)cadences and equidistant subsequences. Furthermore, O(nlog² n) and O(nlog n) time algorithms, respectively for equidistant and Abelian equidistant matching for the case |P| = 3, are shown. The algorithms make use of a technique that was recently introduced which can efficiently compute convolutions with linear constraints. Mitsuru Funakoshi, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda, Ayumi Shinohara |
CPM | 4 |
| 2020 | DAWGs for Parameterized Matching: Online Construction and Related Indexing StructuresabstractTwo strings x and y over Σ ∪ Π of equal length are said to parameterized match (p-match) if there is a renaming bijection f:Σ ∪ Π → Σ ∪ Π that is identity on Σ and transforms x to y (or vice versa). The p-matching problem is to look for substrings in a text that p-match a given pattern. In this paper, we propose parameterized suffix automata (p-suffix automata) and parameterized directed acyclic word graphs (PDAWGs) which are the p-matching versions of suffix automata and DAWGs. While suffix automata and DAWGs are equivalent for standard strings, we show that p-suffix automata can have Θ(n²) nodes and edges but PDAWGs have only O(n) nodes and edges, where n is the length of an input string. We also give O(n |Π| log (|Π| + |Σ|))-time O(n)-space algorithm that builds the PDAWG in a left-to-right online manner. As a byproduct, it is shown that the parameterized suffix tree for the reversed string can also be built in the same time and space, in a right-to-left online manner. Katsuhito Nakashima, Noriki Fujisato, Diptarama, Yuto Nakashima 0001, Ryo Yoshinaka, Shunsuke Inenaga, Hideo Bannai, Ayumi Shinohara, Masayuki Takeda |
CPM | 7 |
| 2020 | c-Trie++: A Dynamic Trie Tailored for Fast Prefix SearchesabstractGiven a dynamic set K of k strings of total length n whose characters are drawn from an alphabet of size σ, a keyword dictionary is a data structure built on K that provides locate, prefix search, and update operations on K. Under the assumption that α = w / lg σ characters fit into a single machine word w, we propose a keyword dictionary that represents K in n lg σ + Θ(k lg n) bits of space, supporting all operations in Θ(m / α + lg α) expected time on an input string of length m in the word RAM model. This data structure is underlined with an exhaustive practical evaluation, highlighting the practical usefulness of the proposed data structure, especially for prefix searches - one of the most elementary keyword dictionary operations. Kazuya Tsuruta, Dominik Köppl, Shunsuke Kanda, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
DCC | 6 |
| 2020 | Minimal Unique Substrings and Minimal Absent Words in a Sliding Window
Takuya Mieno, Yuki Kuhara, Tooru Akagi, Yuta Fujishige, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
SOFSEM | 7 |
| 2020 | Faster STR-EC-LCS Computation
Kohei Yamada, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
SOFSEM | 4 |
| 2020 | Lyndon Words, the Three Squares Lemma, and Primitive Squares
Hideo Bannai, Takuya Mieno, Yuto Nakashima 0001 |
SPIRE | 1 |
| 2020 | Longest Square Subsequence Problem Revisited
Takafumi Inoue, Shunsuke Inenaga, Hideo Bannai |
SPIRE | 3 |
| 2020 | On Repetitiveness Measures of Thue-Morse Words
Kanaru Kutsukake, Takuya Matsumoto, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
SPIRE | 5 |
| 2020 | Towards Efficient Interactive Computation of Dynamic Time Warping Distance
Akihiro Nishi, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
SPIRE | 4 |
| 2020 | Dynamic index and LZ factorization in compressed space
Takaaki Nishimoto, Tomohiro I, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Discret. Appl. Math. | 4 |
| 2020 | Fast Algorithms for the Shortest Unique Palindromic Substring Problem on Run-Length Encoded Strings
Kiichi Watanabe, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Theory Comput. Syst. | 4 |
| 2020 | Refining the r-index
Hideo Bannai, Travis Gagie, Tomohiro I |
Theor. Comput. Sci. | 1 |
| 2020 | Space-efficient algorithms for computing minimal/shortest unique substrings
Takuya Mieno, Dominik Köppl, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Theor. Comput. Sci. | 5 |
| 2019 | The Parameterized Position Heap of a Trie
Noriki Fujisato, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
CIAC | 4 |
| 2019 | Indexing the Bijective BWTabstractThe Burrows-Wheeler transform (BWT) is a permutation whose applications are prevalent in data compression and text indexing. The bijective BWT is a bijective variant of it that has not yet been studied for text indexing applications. We fill this gap by proposing a self-index built on the bijective BWT . The self-index applies the backward search technique of the FM-index to find a pattern P with O(|P| lg|P|) backward search steps. Hideo Bannai, Juha Kärkkäinen, Dominik Köppl, Marcin Piatkowski |
CPM | 1 |
| 2019 | Faster Queries for Longest Substring Palindrome After Block EditabstractPalindromes are important objects in strings which have been extensively studied from combinatorial, algorithmic, and bioinformatics points of views. Manacher [J. ACM 1975] proposed a seminal algorithm that computes the longest substring palindromes (LSPals) of a given string in O(n) time, where n is the length of the string. In this paper, we consider the problem of finding the LSPal after the string is edited. We present an algorithm that uses O(n) time and space for preprocessing, and answers the length of the LSPals in O(l + log log n) time, after a substring in T is replaced by a string of arbitrary length l. This outperforms the query algorithm proposed in our previous work [CPM 2018] that uses O(l + log n) time for each query. Mitsuru Funakoshi, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
CPM | 4 |
| 2019 | Computing Runs on a TrieabstractA maximal repetition, or run, in a string, is a maximal periodic substring whose smallest period is at most half the length of the substring. In this paper, we consider runs that correspond to a path on a trie, or in other words, on a rooted edge-labeled tree where the endpoints of the path must be a descendant/ancestor of the other. For a trie with n edges, we show that the number of runs is less than n. We also show an O(n sqrt{log n}log log n) time and O(n) space algorithm for counting and finding the shallower endpoint of all runs. We further show an O(n log n) time and O(n) space algorithm for finding both endpoints of all runs. We also discuss how to improve the running time even more. Ryo Sugahara, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
CPM | 4 |
| 2019 | On the Size of Overlapping Lempel-Ziv and Lyndon FactorizationsabstractLempel-Ziv (LZ) factorization and Lyndon factorization are well-known factorizations of strings. Recently, Kärkkäinen et al. studied the relation between the sizes of the two factorizations, and showed that the size of the Lyndon factorization is always smaller than twice the size of the non-overlapping LZ factorization [STACS 2017]. In this paper, we consider a similar problem for the overlapping version of the LZ factorization. Since the size of the overlapping LZ factorization is always smaller than the size of the non-overlapping LZ factorization and, in fact, can even be an O(log n) factor smaller, it is not immediately clear whether a similar bound as in previous work would hold. Nevertheless, in this paper, we prove that the size of the Lyndon factorization is always smaller than four times the size of the overlapping LZ factorization. Yuki Urabe, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
CPM | 4 |
| 2019 | MR-RePair: Grammar Compression Based on Maximal RepeatsabstractWe analyze the grammar generation algorithm of the RePair compression algorithm and show the relation between a grammar generated by RePair and maximal repeats. We reveal that RePair replaces step by step the most frequent pairs within the corresponding most frequent maximal repeats. Then, we design a novel variant of RePair, called MR-RePair, which substitutes the most frequent maximal repeats at once instead of substituting the most frequent pairs consecutively. We implemented MR-RePair and compared the size of the grammar generated by MR-RePair to that by RePair on several text corpora. Our experiments show that MR-RePair generates more compact grammars than RePair does, especially for highly repetitive texts. Isamu Furuya, Takuya Takagi, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Takuya Kida |
DCC | 5 |
| 2019 | An Improved Data Structure for Left-Right Maximal Generic Words ProblemabstractFor a set D of documents and a positive integer d, a string w is said to be d-left-right maximal, if (1) w occurs in at least d documents in D, and (2) any proper superstring of w occurs in less than d documents. The left-right-maximal generic words problem is, given a set D of documents, to preprocess D so that for any string p and for any positive integer d, all the superstrings of p that are d-left-right maximal can be answered quickly. In this paper, we present an O(n log m) space data structure (in words) which answers queries in O(|p| + o log log m) time, where n is the total length of documents in D, m is the number of documents in D and o is the number of outputs. Our solution improves the previous one by Nishimoto et al. (PSC 2015), which uses an O(n log n) space data structure answering queries in O(|p|+ r * log n + o * log^2 n) time, where r is the number of right-extensions q of p occurring in at least d documents such that any proper right extension of q occurs in less than d documents. Yuta Fujishige, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
ISAAC | 4 |
| 2019 | Shortest Unique Palindromic Substring Queries on Run-Length Encoded Strings
Kiichi Watanabe, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
IWOCA | 4 |
| 2019 | Direct Linear Time Construction of Parameterized Suffix and LCP Arrays for Constant Alphabets
Noriki Fujisato, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
SPIRE | 4 |
| 2019 | On Longest Common Property Preserved Substring Queries
Kazuki Kai, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda, Tomasz Kociumaka |
SPIRE | 4 |
| 2019 | Compact Data Structures for Shortest Unique Substring Queries
Takuya Mieno, Dominik Köppl, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
SPIRE | 5 |
| 2019 | Finding All Maximal Perfect Haplotype Blocks in Linear TimeabstractRecent large-scale community sequencing efforts allow at an unprecedented level of detail the identification of genomic regions that show signatures of natural selection. Traditional methods for identifying such regions from individuals' haplotype data, however, require excessive computing times and therefore are not applicable to current datasets. In 2019, Cunha et al. (Proceedings of BSB 2019) suggested the maximal perfect haplotype block as a very simple combinatorial pattern, forming the basis of a new method to perform rapid genome-wide selection scans. The algorithm they presented for identifying these blocks, however, had a worst-case running time quadratic in the genome length. It was posed as an open problem whether an optimal, linear-time algorithm exists. In this paper we give two algorithms that achieve this time bound, one conceptually very simple one using suffix trees and a second one using the positional Burrows-Wheeler Transform, that is very efficient also in practice. Jarno Alanko, Hideo Bannai, Bastien Cazaux, Pierre Peterlongo, Jens Stoye |
WABI | 2 |
| 2019 | On the size of the smallest alphabet for Lyndon trees
Yuto Nakashima 0001, Takuya Takagi, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Theor. Comput. Sci. | 4 |
| 2018 | Faster Online Elastic Degenerate String MatchingabstractAn Elastic-Degenerate String [Iliopoulus et al., LATA 2017] is a sequence of sets of strings, which was recently proposed as a way to model a set of similar sequences. We give an online algorithm for the Elastic-Degenerate String Matching (EDSM) problem that runs in O(nm sqrt{m log m} + N) time and O(m) working space, where n is the number of elastic degenerate segments of the text, N is the total length of all strings in the text, and m is the length of the pattern. This improves the previous algorithm by Grossi et al. [CPM 2017] that runs in O(nm^2 + N) time. Kotaro Aoyama, Yuto Nakashima 0001, Tomohiro I, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
CPM | 5 |
| 2018 | Online LZ77 Parsing and Matching Statistics with RLBWTsabstractLempel-Ziv 1977 (LZ77) parsing, matching statistics and the Burrows-Wheeler Transform (BWT) are all fundamental elements of stringology. In a series of recent papers, Policriti and Prezza (DCC 2016 and Algorithmica, CPM 2017) showed how we can use an augmented run-length compressed BWT (RLBWT) of the reverse T^R of a text T, to compute offline the LZ77 parse of T in O(n log r) time and O(r) space, where n is the length of T and r is the number of runs in the BWT of T^R. In this paper we first extend a well-known technique for updating an unaugmented RLBWT when a character is prepended to a text, to work with Policriti and Prezza's augmented RLBWT. This immediately implies that we can build online the LZ77 parse of T while still using O(n log r) time and O(r) space; it also seems likely to be of independent interest. Our experiments, using an extension of Ohno, Takabatake, I and Sakamoto's (IWOCA 2017) implementation of updating, show our approach is both time- and space-efficient for repetitive strings. We then show how to augment the RLBWT further - albeit making it static again and increasing its space by a factor proportional to the size of the alphabet - such that later, given another string S and O(log log n)-time random access to T, we can compute the matching statistics of S with respect to T in O(|S| log log n) time. Hideo Bannai, Travis Gagie, Tomohiro I |
CPM | 1 |
| 2018 | Longest substring palindrome after editabstractIt is known that the length of the longest substring palindromes (LSPals) of a given string T of length n can be computed in O(n) time by Manacher's algorithm [J. ACM '75]. In this paper, we consider the problem of finding the LSPal after the string is edited. We present an algorithm that uses O(n) time and space for preprocessing, and answers the length of the LSPals in O(log (min {sigma, log n })) time after single character substitution, insertion, or deletion, where sigma denotes the number of distinct characters appearing in T. We also propose an algorithm that uses O(n) time and space for preprocessing, and answers the length of the LSPals in O(l + log n) time, after an existing substring in T is replaced by a string of arbitrary length l. Mitsuru Funakoshi, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
CPM | 4 |
| 2018 | Lyndon Factorization of Grammar Compressed Texts RevisitedabstractWe revisit the problem of computing the Lyndon factorization of a string w of length N which is given as a straight line program (SLP) of size n. For this problem, we show a new algorithm which runs in O(P(n, N) + Q(n, N)n log log N) time and O(n log N + S(n, N)) space where P(n, N), S(n,N), Q(n,N) are respectively the pre-processing time, space, and query time of a data structure for longest common extensions (LCE) on SLPs. Our algorithm improves the algorithm proposed by I et al. (TCS '17), and can be more efficient than the O(N)-time solution by Duval (J. Algorithms '83) when w is highly compressible. Isamu Furuya, Yuto Nakashima 0001, Tomohiro I, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
CPM | 5 |
| 2018 | Order-Preserving Pattern Matching Indeterminate StringsabstractGiven an indeterminate string pattern $p$ and an indeterminate string text $t$, the problem of order-preserving pattern matching with character uncertainties ($μ$OPPM) is to find all substrings of $t$ that satisfy one of the possible orderings defined by $p$. When the text and pattern are determinate strings, we are in the presence of the well-studied exact order-preserving pattern matching (OPPM) problem with diverse applications on time series analysis. Despite its relevance, the exact OPPM problem suffers from two major drawbacks: 1) the inability to deal with indetermination in the text, thus preventing the analysis of noisy time series; and 2) the inability to deal with indetermination in the pattern, thus imposing the strict satisfaction of the orders among all pattern positions. This paper provides the first polynomial algorithm to answer the $μ$OPPM problem when indetermination is observed on the pattern or text. Given two strings with length $m$ and $O(r)$ uncertain characters per string position, we show that the $μ$OPPM problem can be solved in $O(mr\lg r)$ time when one string is indeterminate and $r\in\mathbb{N}^+$. Mappings into satisfiability problems are provided when indetermination is observed on both the pattern and the text, and results concerning the general problem complexity are presented as well, with $μ$OPPM problem proved to be NP-hard in general. Rui Henriques, Alexandre P. Francisco, Luís M. S. Russo, Hideo Bannai |
CPM | 4 |
| 2018 | Computing longest common square subsequencesabstractA square is a non-empty string of form YY. The longest common square subsequence (LCSqS) problem is to compute a longest square occurring as a subsequence in two given strings A and B. We show that the problem can easily be solved in O(n^6) time or O(|M|n^4) time with O(n^4) space, where n is the length of the strings and M is the set of matching points between A and B. Then, we show that the problem can also be solved in O(sigma |M|^3 + n) time and O(|M|^2 + n) space, or in O(|M|^3 log^2 n log log n + n) time with O(|M|^3 + n) space, where sigma is the number of distinct characters occurring in A and B. We also study lower bounds for the LCSqS problem for two or more strings. Takafumi Inoue, Shunsuke Inenaga, Heikki Hyyrö, Hideo Bannai, Masayuki Takeda |
CPM | 4 |
| 2018 | Longest Lyndon Substring After EditabstractThe longest Lyndon substring of a string T is the longest substring of T which is a Lyndon word. LLS(T) denotes the length of the longest Lyndon substring of a string T. In this paper, we consider computing LLS(T') where T' is an edited string formed from T. After O(n) time and space preprocessing, our algorithm returns LLS(T') in O(log n) time for any single character edit. We also consider a version of the problem with block edits, i.e., a substring of T is replaced by a given string of length l. After O(n) time and space preprocessing, our algorithm returns LLS(T') in O(l log sigma + log n) time for any block edit where sigma is the number of distinct characters in T. We can modify our algorithm so as to output all the longest Lyndon substrings of T' for both problems. Yuki Urabe, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
CPM | 4 |
| 2018 | Block Palindromes: A New Generalization of Palindromes
Keisuke Goto 0001, Tomohiro I, Hideo Bannai, Shunsuke Inenaga |
SPIRE | 3 |
| 2018 | Recovering, Counting and Enumerating Strings from Forward and Backward Suffix Arrays
Yuki Kuhara, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
SPIRE | 4 |
| 2017 | Computing All Distinct Squares in Linear Time for Integer AlphabetsabstractGiven a string on an integer alphabet, we present an algorithm that computes the set of all distinct squares belonging to this string in time linear to the string length. As an application, we show how to compute the tree topology of the minimal augmented suffix tree in linear time. Asides from that, we elaborate an algorithm computing the longest previous table in a succinct representation using compressed working space. Hideo Bannai, Shunsuke Inenaga, Dominik Köppl |
CPM | 1 |
| 2017 | Faster STR-IC-LCS Computation via RLEabstractThe constrained LCS problem asks one to find a longest common subsequence of two input strings A and B with some constraints. The STR-IC-LCS problem is a variant of the constrained LCS problem, where the solution must include a given constraint string C as a substring. Given two strings A and B of respective lengths M and N, and a constraint string C of length at most min{M, N}, the best known algorithm for the STR-IC-LCS problem, proposed by Deorowicz (Inf. Process. Lett., 11:423-426, 2012), runs in O(MN) time. In this work, we present an O(mN + nM)-time solution to the STR-IC-LCS problem, where m and n denote the sizes of the run-length encodings of A and B, respectively. Since m <= M and n <= N always hold, our algorithm is always as fast as Deorowicz's algorithm, and is faster when input strings are compressible via RLE. Keita Kuboi, Yuta Fujishige, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
CPM | 4 |
| 2017 | Tight Bounds on the Maximum Number of Shortest Unique SubstringsabstractA substring Q of a string S is called a shortest unique substring (SUS) for interval [s,t] in S, if Q occurs exactly once in S, this occurrence of Q contains interval [s,t], and every substring of S which contains interval [s,t] and is shorter than Q occurs at least twice in S. The SUS problem is, given a string S, to preprocess S so that for any subsequent query interval [s,t] all the SUSs for interval [s,t] can be answered quickly. When s = t, we call the SUSs for [s, t] as point SUSs, and when s <= t, we call the SUSs for [s, t] as interval SUSs. There exist optimal O(n)-time preprocessing scheme which answers queries in optimal O(k) time for both point and interval SUSs, where n is the length of S and k is the number of outputs for a given query. In this paper, we reveal structural, combinatorial properties underlying the SUS problem: Namely, we show that the number of intervals in S that correspond to point SUSs for all query positions in S is less than 1.5n, and show that this is a matching upper and lower bound. Also, we consider the maximum number of intervals in S that correspond to interval SUSs for all query intervals in S. Takuya Mieno, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
CPM | 3 |
| 2017 | Almost Linear Time Computation of Maximal Repetitions in Run Length Encoded StringsabstractWe consider the problem of computing all maximal repetitions contained in a string that is given in run-length encoding. Given a run-length encoding of a string, we show that the maximum number of maximal repetitions contained in the string is at most m+k-1, where m is the size of the run-length encoding, and k is the number of run-length factors whose exponent is at least 2. We also show an algorithm for computing all maximal repetitions in O(m \alpha(m)) time and O(m) space, where \alpha denotes the inverse Ackermann function. Yuta Fujishige, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
ISAAC | 4 |
| 2017 | Shortest Unique Palindromic Substring Queries in Optimal Time
Yuto Nakashima 0001, Hiroe Inoue, Takuya Mieno, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
IWOCA | 5 |
| 2017 | Computing Abelian String Regularities Based on RLE
Shiho Sugimoto, Naoki Noda, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
IWOCA | 4 |
| 2017 | Small-Space LCE Data Structure with Constant-Time QueriesabstractThe longest common extension (LCE) problem is to preprocess a given string w of length n so that the length of the longest common prefix between suffixes of w that start at any two given positions is answered quickly. In this paper, we present a data structure of O(z \tau^2 + \frac{n}{\tau}) words of space which answers LCE queries in O(1) time and can be built in O(n \log \sigma) time, where 1 \leq \tau \leq \sqrt{n} is a parameter, z is the size of the Lempel-Ziv 77 factorization of w and \sigma is the alphabet size. The proposed LCE data structure not access the input string w when answering queries, and thus w can be deleted after preprocessing. On top of this main result, we obtain further results using (variants of) our LCE data structure, which include the following: - For highly repetitive strings where the z\tau^2 term is dominated by \frac{n}{\tau}, we obtain a constant-time and sub-linear space LCE query data structure. - Even when the input string is not well compressible via Lempel-Ziv 77 factorization, we still can obtain a constant-time and sub-linear space LCE data structure for suitable \tau and for \sigma \leq 2^{o(\log n)}. - The time-space trade-off lower bounds for the LCE problem by Bille et al. [J. Discrete Algorithms, 25:42-50, 2014] and by Kosolobov [CoRR, abs/1611.02891, 2016] do not apply in some cases with our LCE data structure. Yuka Tanimura, Takaaki Nishimoto, Hideo Bannai, Shunsuke Inenaga, Masayuki Takeda |
MFCS | 3 |
| 2017 | Longest Common Subsequence in at Least k Length Order-Isomorphic Substrings
Yohei Ueki, Diptarama, Masatoshi Kurihara, Yoshiaki Matsuoka, Kazuyuki Narisawa, Ryo Yoshinaka, Hideo Bannai, Shunsuke Inenaga, Ayumi Shinohara |
SOFSEM | 7 |
| 2017 | Order Preserving Pattern Matching on Trees and DAGs
Temma Nakamura, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
SPIRE | 3 |
| 2017 | Efficient Computation of Substring Equivalence Classes with Suffix Arrays
Kazuyuki Narisawa, Hideharu Hiratsuka, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Algorithmica | 4 |
| 2017 | The "Runs" TheoremabstractWe give a new characterization of maximal repetitions (or runs) in strings based on Lyndon words. The characterization leads to a proof of what was known as the “runs” conjecture [R. M. Kolpakov and G. Kucherov, Proceedings of the IEEE Symposium on Foundations of Computer Science (FOCS), IEEE Computer Society, Los Alamitos, CA, 1999, pp. 596--604]), which states that the maximum number of runs $\rho(n)$ in a string of length $n$ is less than $n$. The proof is remarkably simple, considering the numerous endeavors to tackle this problem in the last 15 years, and significantly improves our understanding of how runs can occur in strings. In addition, we obtain an upper bound of 3n for the maximum sum of exponents $\sigma(n)$ of runs in a string of length $n$, improving on the best known bound of 4.1n by Crochemore et al. [ J. Discrete Algorithms, 14 (2012), pp. 29--36], as well as other improved bounds on related problems. The characterization also gives rise to a new, conceptually simple linear-time algorithm for computing all the runs in a string. A notable characteristic of our algorithm is that, unlike all existing linear-time algorithms, it does not utilize the Lempel--Ziv factorization of the string. We also establish a relationship between runs and nodes of the Lyndon tree, which gives a simple optimal solution to the 2-period query problem that was recently solved by Kociumaka et al. [ Proceedings of the Twenty-Sixth Annual ACM-SIAM Symposium on Discrete Algorithms, (SODA) 2015, San Diego, CA, SIAM, Philadelphia, 2015, pp. 532--551]. Hideo Bannai, Tomohiro I, Shunsuke Inenaga, Yuto Nakashima 0001, Masayuki Takeda, Kazuya Tsuruta |
SIAM J. Comput. | 1 |
| 2017 | Inferring strings from Lyndon factorization
Yuto Nakashima 0001, Takashi Okabe, Tomohiro I, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Theor. Comput. Sci. | 5 |
| 2016 | Factorizing a String into Squares in Linear TimeabstractA square factorization of a string w is a factorization of w in which each factor is a square. Dumitran et al. [SPIRE 2015, pp. 54-66] showed how to find a square factorization of a given string of length n in O(n log n) time, and they posed a question whether it can be done in O(n) time. In this paper, we answer their question positively, showing an O(n)-time algorithm for square factorization in the standard word RAM model with machine word size omega = Omega(log n). We also show an O(n + (n log^2 n) / omega)-time (respectively, O(n log n)-time) algorithm to find a square factorization which contains the maximum (respectively, minimum) number of squares. Yoshiaki Matsuoka, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda, Florin Manea |
CPM | 3 |
| 2016 | Deterministic Sub-Linear Space LCE Data Structures With Efficient ConstructionabstractGiven a string S of n symbols, a longest common extension query 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 processing, perhaps most notably to suffix sorting. Recently, Bille et al. (J. Discrete Algorithms 25:42-50, 2014, Proc. CPM 2015:65-76) described several data structures for answering LCE queries that offers a space-time trade-off between data structure size and query time. In particular, for a parameter 1 <= tau <= n, their best deterministic solution is a data structure of size O(n/tau) which allows LCE queries to be answered in O(tau) time. However, the construction time for all deterministic versions of their data structure is quadratic in n. In this paper, we propose a deterministic solution that achieves a similar space-time trade-off of O(tau * min(log(tau),log(n/tau)) query time using O(n/tau) space, but significantly improve the construction time to O(n*tau). Yuka Tanimura, Tomohiro I, Hideo Bannai, Shunsuke Inenaga, Simon J. Puglisi, Masayuki Takeda |
CPM | 3 |
| 2016 | Finding Gapped Palindromes Online
Yuta Fujishige, Michitaro Nakamura, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
IWOCA | 4 |
| 2016 | Computing DAWGs and Minimal Absent Words in Linear Time for Integer AlphabetsabstractThe directed acyclic word graph (DAWG) of a string y is the smallest (partial) DFA which recognizes all suffixes of y and has only O(n) nodes and edges. We present the first O(n)-time algorithm for computing the DAWG of a given string y of length n over an integer alphabet of polynomial size in n. We also show that a straightforward modification to our DAWG construction algorithm leads to the first O(n)-time algorithm for constructing the affix tree of a given string y over an integer alphabet. Affix trees are a text indexing structure supporting bidirectional pattern searches. As an application to our O(n)-time DAWG construction algorithm, we show that the set MAW(y) of all minimal absent words of y can be computed in optimal O(n + |MAW(y)|) time and O(n) working space for integer alphabets. Yuta Fujishige, Yuki Tsujimaru, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
MFCS | 4 |
| 2016 | Shortest Unique Substring Queries on Run-Length Encoded StringsabstractWe consider the problem of answering shortest unique substring (SUS) queries on run-length encoded strings. For a string S, a unique substring u = S[i..j] is said to be a shortest unique substring (SUS) of S containing an interval [s, t] (i <= s <= t <= j) if for any i' <= s <= t <= j' with j-i > j'-i', S[i'..j'] occurs at least twice in S. Given a run-length encoding of size m of a string of length N, we show that we can construct a data structure of size O(m+pi_s(N, m)) in O(m log m + pi_c(N, m)) time such that queries can be answered in O(pi_q(N, m) + k) time, where k is the size of the output (the number of SUSs), and pi_s(N,m), pi_c(N,m), pi_q(N,m) are, respectively, the size, construction time, and query time for a predecessor/successor query data structure of m elements for the universe of [1,N]. Using the data structure by Beam and Fich (JCSS 2002), this results in a data structure of O(m) space that is constructed in O(m log m) time, and answers queries in O(sqrt(log m/loglog m)+k) time. Takuya Mieno, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
MFCS | 3 |
| 2016 | Fully Dynamic Data Structure for LCE Queries in Compressed SpaceabstractA Longest Common Extension (LCE) query on a text T of length N asks for the length of the longest common prefix of suffixes starting at given two positions. We show that the signature encoding G of size w = O(min(z log N log^* M, N)) [Mehlhorn et al., Algorithmica 17(2):183-198, 1997] of T, which can be seen as a compressed representation of T, has a capability to support LCE queries in O(log N + log ell log^* M) time, where ell is the answer to the query, z is the size of the Lempel-Ziv77 (LZ77) factorization of T, and M >= 4N is an integer that can be handled in constant time under word RAM model. In compressed space, this is the fastest deterministic LCE data structure in many cases. Moreover, G can be enhanced to support efficient update operations: After processing G in O(w f_A) time, we can insert/delete any (sub)string of length y into/from an arbitrary position of T in O((y + log Nlog^* M) f_A) time, where f_A = O(min{ (loglog M loglog w)/(logloglog M), sqrt(log w/loglog w)}). This yields the first fully dynamic LCE data structure working in compressed space. We also present efficient construction algorithms from various types of inputs: We can construct G in O(N f_A) time from uncompressed string T; in O(n loglog (n log^* M) log N log^* M) time from grammar-compressed string T represented by a straight-line program of size n; and in O(z f_A log N log^* M) time from LZ77-compressed string T with z factors. On top of the above contributions, we show several applications of our data structures which improve previous best known results on grammar-compressed string processing. Takaaki Nishimoto, Tomohiro I, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
MFCS | 4 |
| 2016 | Closed factorization
Golnaz Badkobeh, Hideo Bannai, Keisuke Goto 0001, Tomohiro I, Costas S. Iliopoulos, Shunsuke Inenaga, Simon J. Puglisi, Shiho Sugimoto |
Discret. Appl. Math. | 2 |
| 2016 | Faster Lyndon factorization algorithms for SLP and LZ78 compressed text
Tomohiro I, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Theor. Comput. Sci. | 4 |
| 2016 | Generalized pattern matching and periodicity under substring consistent equivalence relations
Yoshiaki Matsuoka, Takahiro Aoki, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Theor. Comput. Sci. | 4 |
| 2015 | An Opportunistic Text Indexing Structure Based on Run Length Encoding
Yuya Tamakoshi, Keisuke Goto 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
CIAC | 4 |
| 2015 | LZD Factorization: Simple and Practical Online Grammar Compression with Variable-to-Fixed Encoding
Keisuke Goto 0001, Hideo Bannai, Shunsuke Inenaga, Masayuki Takeda |
CPM | 2 |
| 2015 | Semi-dynamic Compact Index for Short Patterns and Succinct van Emde Boas Tree
Yoshiaki Matsuoka, Tomohiro I, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
CPM | 4 |
| 2015 | Diverse Palindromic Factorization Is NP-complete
Hideo Bannai, Travis Gagie, Shunsuke Inenaga, Juha Kärkkäinen, Dominik Kempa, Marcin Piatkowski, Simon J. Puglisi, Shiho Sugimoto |
DLT | 1 |
| 2015 | Inferring Strings from Full Abelian Periods
Makoto Nishida, Tomohiro I, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
ISAAC | 4 |
| 2015 | A new characterization of maximal repetitions by Lyndon treesabstractWe give a new characterization of maximal repetitions (or runs) in strings, using a tree defined on recursive standard factorizations of Lyndon words, called the Lyndon tree. The characterization leads to a remarkably simple novel proof of the linearity of the maximum number of runs ρ(n) in a string of length n. Furthermore, we show an upper bound of ρ(n) < 1.5n, which improves on the best upper bound 1.6n (Crochemore & Ilie 2008) that does not rely on computational verification. The proof also gives rise to a new, conceptually simple linear-time algorithm for computing all the runs in a string. A notable characteristic of our algorithm is that, unlike all existing linear-time algorithms, it does not utilize the Lempel-Ziv factorization of the string. Hideo Bannai, Tomohiro I, Shunsuke Inenaga, Yuto Nakashima 0001, Masayuki Takeda, Kazuya Tsuruta |
SODA | 1 |
| 2015 | Efficient Algorithms for Longest Closed Factor Array
Hideo Bannai, Shunsuke Inenaga, Tomasz Kociumaka, Arnaud Lefebvre, Jakub Radoszewski, Wojciech Rytter, Shiho Sugimoto, Tomasz Walen |
SPIRE | 1 |
| 2015 | A Faster Algorithm for Computing Maximal \alpha -gapped Repeats in a String
Yuka Tanimura, Yuta Fujishige, Tomohiro I, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
SPIRE | 5 |
| 2015 | Detecting regularities on grammar-compressed strings
Tomohiro I, Wataru Matsubara, Kouji Shimohira, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda, Kazuyuki Narisawa, Ayumi Shinohara |
Inf. Comput. | 5 |
| 2015 | Constructing LZ78 tries and position heaps in linear time for large alphabets
Yuto Nakashima 0001, Tomohiro I, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Inf. Process. Lett. | 4 |
| 2015 | Compressed automata for dictionary matching
Tomohiro I, Takaaki Nishimoto, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Theor. Comput. Sci. | 4 |
| 2014 | Computing Palindromic Factorizations and Palindromic Covers On-line
Tomohiro I, Shiho Sugimoto, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
CPM | 4 |
| 2014 | Space Efficient Linear Time Lempel-Ziv Factorization for Small AlphabetsabstractWe present a new linear time algorithm for computing the Lempel-Ziv Factorization (LZ77) of a given string of length N on an alphabet of size σ, that utilizes only N log N + O(σ log N) bits of working space. When the alphabet size is small, this greatly improves the previous best space requirement for linear time LZ77 factorization (Karkkainen et al. CPM 2013), which is 2N log N bits, i.e. two integer arrays of length N. Experiments show that despite the added complexity of the algorithm, the speed of the algorithm is only around two to three times slower than previous fastest linear time algorithms. Keisuke Goto 0001, Hideo Bannai |
DCC | 2 |
| 2014 | Inferring Strings from Lyndon Factorization
Yuto Nakashima 0001, Takashi Okabe, Tomohiro I, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
MFCS (2) | 5 |
| 2014 | Shortest Unique Substrings Queries in Optimal Time
Kazuya Tsuruta, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
SOFSEM | 3 |
| 2014 | Faster Compact On-Line Lempel-Ziv FactorizationabstractWe present a new on-line algorithm for computing the Lempel-Ziv factorization of a string that runs in O(N.log(N)) time and uses only O(N.log(s)) bits of working space, where N is the length of the string and s is the size of the alphabet. This is a notable improvement compared to the performance of previous on-line algorithms using the same order of working space but running in either O(N.log^3(N)) time [Okanohara and Sadakane, 2009] or O(N.log^2(N)) time [Starikovskaya, 2012]. The key to our new algorithm is in the utilization of an elegant but less popular index structure called Directed Acyclic Word Graphs, or DAWGs [Blumer et al., 1985]. We also present an opportunistic variant of our algorithm, which, given the run length encoding of size m of a string of length N, computes the Lempel-Ziv factorization of the string on-line, in O(m.min{log(log(m)).log(log(N))/(log(log(log(N)))), (log(m))^{1/2}/(log(log(m)))^{1/2})}) time and O(m.log(N)) bits of space. Jun-ichi Yamamoto, Tomohiro I, Hideo Bannai, Shunsuke Inenaga, Masayuki Takeda |
STACS | 3 |
| 2014 | Inferring strings from suffix trees and links on a binary alphabet
Tomohiro I, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Discret. Appl. Math. | 3 |
| 2013 | Converting SLP to LZ78 in almost Linear Time
Hideo Bannai, Pawel Gawrychowski, Shunsuke Inenaga, Masayuki Takeda |
CPM | 1 |
| 2013 | Efficient Lyndon Factorization of Grammar Compressed Text
Tomohiro I, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
CPM | 4 |
| 2013 | Simpler and Faster Lempel Ziv FactorizationabstractWe present a new, simple, and efficient approach for computing the Lempel-Ziv (LZ77) factorization of a string in linear time, based on suffix arrays. Computational experiments on various data sets show that our approach constantly outperforms the fastest previous algorithm LZ OG (Ohlebusch and Gog 2011), and can be up to 2 to 3 times faster in the processing after obtaining the suffix array, while requiring the same or a little more space. Keisuke Goto 0001, Hideo Bannai |
DCC | 2 |
| 2013 | From Run Length Encoding to LZ78 and Back AgainabstractIn this paper, we present efficient algorithms for interconversion between Lempel-Ziv 78 (LZ78) encoding and run length encoding (RLE). We show how, given an RLE of size n for a string S, we can compute the corresponding LZ78 encoding of size m for S in O((n + m) log σ) time, where σ is the number of distinct characters appearing in S. We also show how, given an LZ78 encoding of size m for a string S, we can compute the corresponding RLE of size n in O(n + m) time. Both algorithms use O(m) extra working space. Yuya Tamakoshi, Tomohiro I, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
DCC | 4 |
| 2013 | Computing Convolution on Grammar-Compressed TextabstractThe convolution between a text string S of length N and a pattern string P of length m can be computed in O(N log m) time by FFT. It is known that various types of approximate string matching problems are reducible to convolution. In this paper, we assume that the input text string is given in a compressed form, as a straight-line program (SLP), which is a context free grammar in the Chomsky normal form that derives a single string. Given an SLP S of size n describing a text S of length N, and an uncompressed pattern P of length m, we present a simple O(nm log m)-time algorithm to compute the convolution between S and P. We then show that this can be improved to O(min{nm, N - α} log m) time, where α ≥ 0 is a value that represents the amount of redundancy that the SLP captures with respect to the length-m substrings. The key of the improvement is our new algorithm that computes the convolution between a trie of size r and a pattern string P of length m in O(r log m) time. Toshiya Tanaka, Tomohiro I, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
DCC | 4 |
| 2013 | Detecting Regularities on Grammar-Compressed Strings
Tomohiro I, Wataru Matsubara, Kouji Shimohira, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda, Kazuyuki Narisawa, Ayumi Shinohara |
MFCS | 5 |
| 2013 | Permuted Pattern Matching on Multi-track Strings
Takashi Katsura, Kazuyuki Narisawa, Ayumi Shinohara, Hideo Bannai, Shunsuke Inenaga |
SOFSEM | 4 |
| 2013 | Faster Lyndon Factorization Algorithms for SLP and LZ78 Compressed Text
Tomohiro I, Yuto Nakashima 0001, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
SPIRE | 4 |
| 2013 | Compressed Automata for Dictionary Matching
Tomohiro I, Takaaki Nishimoto, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
CIAA | 4 |
| 2012 | Speeding Up q-Gram Mining on Grammar-Based Compressed Texts
Keisuke Goto 0001, Hideo Bannai, Shunsuke Inenaga, Masayuki Takeda |
CPM | 2 |
| 2012 | General Algorithms for Mining Closed Flexible Patterns under Various Equivalence Relations
Tomohiro I, Yuki Enokuma, Hideo Bannai, Masayuki Takeda |
ECML/PKDD (2) | 3 |
| 2012 | Computing q-Gram Non-overlapping Frequencies on SLP Compressed Texts
Keisuke Goto 0001, Hideo Bannai, Shunsuke Inenaga, Masayuki Takeda |
SOFSEM | 2 |
| 2012 | Efficient LZ78 Factorization of Grammar Compressed Text
Hideo Bannai, Shunsuke Inenaga, Masayuki Takeda |
SPIRE | 1 |
| 2012 | Eager XPath Evaluation over XML Streams
Kazuhito Hagio, Takashi Ohgami, Hideo Bannai, Masayuki Takeda |
SPIRE | 3 |
| 2012 | The Position Heap of a Trie
Yuto Nakashima 0001, Tomohiro I, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
SPIRE | 4 |
| 2012 | An efficient algorithm to test square-freeness of strings compressed by straight-line programs
Hideo Bannai, Travis Gagie, Tomohiro I, Shunsuke Inenaga, Gad M. Landau, Moshe Lewenstein |
Inf. Process. Lett. | 1 |
| 2011 | Faster Subsequence and Don't-Care Pattern Matching on Compressed Texts
Takanori Yamamoto, Hideo Bannai, Shunsuke Inenaga, Masayuki Takeda |
CPM | 2 |
| 2011 | Fast q-gram Mining on SLP Compressed Strings
Keisuke Goto 0001, Hideo Bannai, Shunsuke Inenaga, Masayuki Takeda |
SPIRE | 2 |
| 2011 | Verifying and enumerating parameterized border arrays
Tomohiro I, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Theor. Comput. Sci. | 3 |
| 2010 | Verifying a Parameterized Border Array in O(n1.5) Time
Tomohiro I, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
CPM | 3 |
| 2010 | Sparse Substring Pattern Set Discovery Using Linear Programming Boosting
Kazuaki Kashihara, Kohei Hatano, Hideo Bannai, Masayuki Takeda |
Discovery Science | 3 |
| 2010 | Counting and Verifying Maximal Palindromes
Tomohiro I, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
SPIRE | 3 |
| 2009 | Better Decomposition Heuristics for the Maximum-Weight Connected Graph Problem Using Betweenness Centrality
Takanori Yamamoto, Hideo Bannai, Masao Nagasaki, Satoru Miyano |
Discovery Science | 2 |
| 2009 | Lightweight Parameterized Suffix Array Construction
Tomohiro I, Satoshi Deguchi, Hideo Bannai, Shunsuke Inenaga, Masayuki Takeda |
IWOCA | 3 |
| 2009 | Counting Parameterized Border Arrays for a Binary Alphabet
Tomohiro I, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
LATA | 3 |
| 2009 | A Series of Run-Rich Strings
Wataru Matsubara, Kazuhiko Kusano, Hideo Bannai, Ayumi Shinohara |
LATA | 3 |
| 2008 | String Kernels Based on Variable-Length-Don't-Care Patterns
Kazuyuki Narisawa, Hideo Bannai, Kohei Hatano, Shunsuke Inenaga, Masayuki Takeda |
Discovery Science | 2 |
| 2007 | Efficient Computation of Substring Equivalence Classes with Suffix Arrays
Kazuyuki Narisawa, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
CPM | 3 |
| 2007 | Simple Linear-Time Off-Line Text Compression by Longest-First SubstitutionabstractWe consider grammar based text compression with longest-first substitution, where non-overlapping occurrences of a longest repeating substring of the input text are replaced by a new non-terminal symbol. We present a new text compression algorithm by simplifying the algorithm presented in S. Inenaga et al., (2003). We give a new formulation of the correctness proof introducing the sparse lazy suffix tree data structure. We also present another type of longest-first substitution strategy that allows better compression. We show results of preliminary experiments comparing grammar sizes of the two versions of the longest-first strategy and the most frequent strategy Ryosuke Nakamura, Hideo Bannai, Shunsuke Inenaga, Masayuki Takeda |
DCC | 2 |
| 2007 | Unsupervised Spam Detection Based on String Alienness Measures
Kazuyuki Narisawa, Hideo Bannai, Kohei Hatano, Masayuki Takeda |
Discovery Science | 2 |
| 2007 | Algorithms for String Pattern Discovery
Hideo Bannai |
MDAI | 1 |
| 2007 | On the complexity of deriving position specific score matrices from positive and negative sequences
Tatsuya Akutsu, Hideo Bannai, Satoru Miyano, Sascha Ott |
Discret. Appl. Math. | 2 |
| 2006 | A New Family of String Classifiers Based on Local Relatedness
Yasuto Higa, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda |
Discovery Science | 3 |
| 2005 | Practical Algorithms for Pattern Based Linear Regression
Hideo Bannai, Kohei Hatano, Shunsuke Inenaga, Masayuki Takeda |
Discovery Science | 1 |
| 2005 | Estimating Gene Networks from Expression Data and Binding Location Data via Boolean Networks
Osamu Hirose, Naoki Nariai, Yoshinori Tamada, Hideo Bannai, Seiya Imoto, Satoru Miyano |
ICCSA (3) | 4 |
| 2004 | Finding Optimal Pairs of Cooperative and Competing Patterns with Bounded Distance
Shunsuke Inenaga, Hideo Bannai, Heikki Hyyrö, Ayumi Shinohara, Masayuki Takeda, Kenta Nakai, Satoru Miyano |
Discovery Science | 2 |
| 2004 | Finding Optimal Pairs of Patterns
Hideo Bannai, Heikki Hyyrö, Ayumi Shinohara, Masayuki Takeda, Kenta Nakai, Satoru Miyano |
WABI | 1 |
| 2004 | An O(N2) Algorithm for Discovering Optimal Boolean Pattern PairsabstractWe consider the problem of finding the optimal combination of string patterns, which characterizes a given set of strings that have a numeric attribute value assigned to each string. Pattern combinations are scored based on the correlation between their occurrences in the strings and the numeric attribute values. The aim is to find the combination of patterns which is best with respect to an appropriate scoring function. We present an O(N2) time algorithm for finding the optimal pair of substring patterns combined with Boolean functions, where N is the total length of the sequences. The algorithm looks for all possible Boolean combinations of the patterns, e.g., patterns of the form p and not q, which indicates that the pattern pair is considered to occur in a given string s, if p occurs in s, AND q does NOT occur in s. An efficient implementation using suffix arrays is presented, and we further show that the algorithm can be adapted to find the best k-pattern Boolean combination in O(Nk) time. The algorithm is applied to mRNA sequence data sets of moderate size combined with their turnover rates for the purpose of finding regulatory elements that cooperate, complement, or compete with each other in enhancing and/or silencing mRNA decay. Hideo Bannai, Heikki Hyyrö, Ayumi Shinohara, Masayuki Takeda, Kenta Nakai, Satoru Miyano |
IEEE ACM Trans. Comput. Biol. Bioinform. | 1 |
| 2003 | Discovering Most Classificatory Patterns for Very Expressive Pattern Classes
Masayuki Takeda, Shunsuke Inenaga, Hideo Bannai, Ayumi Shinohara, Setsuo Arikawa |
Discovery Science | 3 |
| 2003 | Inferring Strings from Graphs and Arrays
Hideo Bannai, Shunsuke Inenaga, Ayumi Shinohara, Masayuki Takeda |
MFCS | 1 |
| 2002 | On the Complexity of Deriving Position Specific Score Matrices from Examples
Tatsuya Akutsu, Hideo Bannai, Satoru Miyano, Sascha Ott |
CPM | 2 |
| 2002 | Discovering Best Variable-Length-Don't-Care Patterns
Shunsuke Inenaga, Hideo Bannai, Ayumi Shinohara, Masayuki Takeda, Setsuo Arikawa |
Discovery Science | 2 |
| 2002 | Space-Economical Construction of Index Structures for All Suffixes of a String
Shunsuke Inenaga, Ayumi Shinohara, Masayuki Takeda, Hideo Bannai, Setsuo Arikawa |
MFCS | 4 |
| 2002 | Extensive feature detection of N-terminal protein sorting signalsabstractMOTIVATION: The prediction of localization sites of various proteins is an important and challenging problem in the field of molecular biology. TargetP, by Emanuelsson et al. (J. Mol. Biol., 300, 1005-1016, 2000) is a neural network based system which is currently the best predictor in the literature for N-terminal sorting signals. One drawback of neural networks, however, is that it is generally difficult to understand and interpret how and why they make such predictions. In this paper, we aim to generate simple and interpretable rules as predictors, and still achieve a practical prediction accuracy. We adopt an approach which consists of an extensive search for simple rules and various attributes which is partially guided by human intuition. RESULTS: We have succeeded in finding rules whose prediction accuracies come close to that of TargetP, while still retaining a very simple and interpretable form. We also discuss and interpret the discovered rules. Hideo Bannai, Yoshinori Tamada, Osamu Maruyama, Kenta Nakai, Satoru Miyano |
Bioinform. | 1 |
| 2002 | Fast algorithm for extracting multiple unordered short motifs using bit operations
Osamu Maruyama, Hideo Bannai, Yoshinori Tamada, Satoru Kuhara, Satoru Miyano |
Inf. Sci. | 2 |
| 2001 | VML: A View Modeling Language for Computational Knowledge Discovery
Hideo Bannai, Yoshinori Tamada, Osamu Maruyama, Satoru Miyano |
Discovery Science | 1 |
| 1999 | A Definition of Discovery in Terms of Generalized Descriptional Complexity
Hideo Bannai, Satoru Miyano |
Discovery Science | 1 |