scispace - formally typeset
Book ChapterDOI

Efficient Identification of k-Closed Strings

TLDR
This paper addresses the problem of identifying whether or not a given string of length n over an integer alphabet is k- closed and additionally specifying the border resulting in the string being k-closed, and presents an \(\mathcal {O}(kn)\)-time and \(\math CAL(n)-space algorithm to achieve this along with the pseudocode of an implementation.
Abstract
A closed string contains a proper factor occurring as both a prefix and a suffix but not elsewhere in the string. Closed strings were introduced by Fici (WORDS 2011) as objects of combinatorial interest. In this paper, we extend this definition to k-closed strings, for which a level of approximation is permitted up to a number of Hamming distance errors, set by the parameter k. We then address the problem of identifying whether or not a given string of length n over an integer alphabet is k-closed and additionally specifying the border resulting in the string being k-closed. Specifically, we present an \(\mathcal {O}(kn)\)-time and \(\mathcal {O}(n)\)-space algorithm to achieve this along with the pseudocode of an implementation.

read more

Citations
More filters
Book ChapterDOI

On Closed-Rich Words

TL;DR: In this paper, the maximal number of closed factors in a word of length n was studied and it was shown that it is quadratic and gave lower and upper bounds for a constant.
Journal ArticleDOI

Off-line and on-line algorithms for closed string factorization

TL;DR: An O ( log ⁡ n ) amortized per character algorithm to compute LCF on-line, where n is the length of the string and the Minimum Closed Factorization (MCF) problem, which identifies the minimum number of closed factors that cover X is introduced.
References
More filters
Book ChapterDOI

The LCA Problem Revisited

TL;DR: A very simple algorithm for the Least Common Ancestors problem is presented, dispelling the frequently held notion that optimal LCA computation is unwieldy and unimplementable.
Book

Algorithms on Strings

TL;DR: In this paper, the authors describe algorithms in a C-like language for automatic processing of natural language, analysis of molecular sequences and management of textual databases, and present examples related to the automatic processing and analysis of natural languages.
Proceedings ArticleDOI

Optimal suffix tree construction with large alphabets

TL;DR: This work builds suffix trees in linear time for integer alphabet using Weiner's algorithm, which matches a trivial /spl Omega/(n log n)-time lower bound based on sorting.
Book ChapterDOI

From Theory to Practice: Plug and Play with Succinct Data Structures

TL;DR: This paper presents a framework for experimentation with succinct data structures, providing a large set of configurable components, together with tests, benchmarks, and tools to analyze resource requirements.
Posted Content

From Theory to Practice: Plug and Play with Succinct Data Structures

TL;DR: In this article, the authors present a framework for experimentation with succinct data structures, providing a large set of configurable components, together with tests, benchmarks, and tools to analyze resource requirements.
Related Papers (5)