Absent Subsequences in Words

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Kosche, Maria, Koß, Tore, Manea, Florin, Siemer, Stefan
Format: Preprint
Published: 2021
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910107980267520
author Kosche, Maria
Koß, Tore
Manea, Florin
Siemer, Stefan
author_facet Kosche, Maria
Koß, Tore
Manea, Florin
Siemer, Stefan
contents An absent factor of a string $w$ is a string $u$ which does not occur as a contiguous substring (a.k.a. factor) inside $w$. We extend this well-studied notion and define absent subsequences: a string $u$ is an absent subsequence of a string $w$ if $u$ does not occur as subsequence (a.k.a. scattered factor) inside $w$. Of particular interest to us are minimal absent subsequences, i.e., absent subsequences whose every subsequence is not absent, and shortest absent subsequences, i.e., absent subsequences of minimal length. We show a series of combinatorial and algorithmic results regarding these two notions. For instance: we give combinatorial characterisations of the sets of minimal and, respectively, shortest absent subsequences in a word, as well as compact representations of these sets; we show how we can test efficiently if a string is a shortest or minimal absent subsequence in a word, and we give efficient algorithms computing the lexicographically smallest absent subsequence of each kind; also, we show how a data structure for answering shortest absent subsequence-queries for the factors of a given string can be efficiently computed.
format Preprint
id arxiv_https___arxiv_org_abs_2108_13968
institution arXiv
publishDate 2021
record_format arxiv
spellingShingle Absent Subsequences in Words
Kosche, Maria
Koß, Tore
Manea, Florin
Siemer, Stefan
Formal Languages and Automata Theory
Data Structures and Algorithms
An absent factor of a string $w$ is a string $u$ which does not occur as a contiguous substring (a.k.a. factor) inside $w$. We extend this well-studied notion and define absent subsequences: a string $u$ is an absent subsequence of a string $w$ if $u$ does not occur as subsequence (a.k.a. scattered factor) inside $w$. Of particular interest to us are minimal absent subsequences, i.e., absent subsequences whose every subsequence is not absent, and shortest absent subsequences, i.e., absent subsequences of minimal length. We show a series of combinatorial and algorithmic results regarding these two notions. For instance: we give combinatorial characterisations of the sets of minimal and, respectively, shortest absent subsequences in a word, as well as compact representations of these sets; we show how we can test efficiently if a string is a shortest or minimal absent subsequence in a word, and we give efficient algorithms computing the lexicographically smallest absent subsequence of each kind; also, we show how a data structure for answering shortest absent subsequence-queries for the factors of a given string can be efficiently computed.
title Absent Subsequences in Words
topic Formal Languages and Automata Theory
Data Structures and Algorithms
url https://arxiv.org/abs/2108.13968