Linear-time computation of generalized minimal absent words for multiple strings

07/05/2023
by   Kouta Okabe, et al.
0

A string w is called a minimal absent word (MAW) for a string S if w does not occur as a substring in S and all proper substrings of w occur in S. MAWs are well-studied combinatorial string objects that have potential applications in areas including bioinformatics, musicology, and data compression. In this paper, we generalize the notion of MAWs to a set 𝒮 = {S_1, …, S_k} of multiple strings. We first describe our solution to the case of k = 2 strings, and show how to compute the set 𝖬 of MAWs in optimal O(n + |𝖬|) time and with O(n) working space, where n denotes the total length of the strings in 𝒮. We then move on to the general case of k > 2 strings, and show how to compute the set 𝖬 of MAWs in O(n ⌈ k / log n ⌉ + |𝖬|) time and with O(n (k + log n)) bits of working space, in the word RAM model with machine word size ω = log n. The latter algorithm runs in optimal O(n + |𝖬|) time for k = O(log n).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/16/2022

An Optimal-Time RLBWT Construction in BWT-runs Bounded Space

The compression of highly repetitive strings (i.e., strings with many re...
research
03/31/2022

Suffix tree-based linear algorithms for multiple prefixes, single suffix counting and listing problems

Given two strings T and S and a set of strings P, for each string p ∈ P,...
research
01/17/2020

Duplication with transposition distance to the root for q-ary strings

We study the duplication with transposition distance between strings of ...
research
01/25/2022

The development of a portable elbow exoskeleton with a Twisted Strings Actuator to assist patients with upper limb inhabitation

Over the years, the number of exoskeleton devices utilized for upper-lim...
research
08/10/2019

A theory of incremental compression

The ability to find short representations, i.e. to compress data, is cru...
research
10/31/2019

Outsourcing Computation: the Minimal Refereed Mechanism

We consider a setting where a verifier with limited computation power de...
research
01/13/2021

Toward Data Cleaning with a Target Accuracy: A Case Study for Value Normalization

Many applications need to clean data with a target accuracy. As far as w...

Please sign up or login with your details

Forgot password? Click here to reset