Robert Mercaş
University of Kiel
Network
Latest external collaboration on country level. Dive into details by clicking on the dots.
Publication
Featured researches published by Robert Mercaş.
Acta Informatica | 2011
Francine Blanchet-Sadri; Robert Mercaş; Sean Simmons; Eric Weissenstein
The problem of classifying all the avoidable binary patterns in (full) words has been completely solved (see Chap. 3 of M. Lothaire, Algebraic Combinatorics on Words, Cambridge University Press, 2002). In this paper, we classify all the avoidable binary patterns in partial words, or sequences that may have some undefined positions called holes. In particular we show that, if we do not substitute any variable of the pattern by a partial word consisting of only one hole, the avoidability index of the pattern remains the same as in the full word case.
mathematical foundations of computer science | 2012
Florin Manea; Robert Mercaş; Dirk Nowotka
The notion of repetition of factors in words is central to considerations on sequences. One of the recent generalizations regarding this concept was introduced by Czeizler et al. (2010) and investigates a restricted version of that notion in the context of DNA computing and bioinformatics. It considers a word to be a pseudo-repetition if it is the iterated concatenation of one of its prefixes and the image of this prefix through an involution. We present here a series of results in the fashion of the Fine and Wilf Theorem in a more general setting where we consider the periods of some word given by a prefix of it and images of that prefix through some arbitrary morphism or antimorphism.
language and automata theory and applications | 2009
Francine Blanchet-Sadri; Robert Mercaş; Abraham H. L. Rashin; Elara Willett
We propose an algorithm that given as input a full word w of length n , and positive integers p and d , outputs (if any exists) a maximal p -periodic partial word contained in w with the property that no two holes are within distance d . Our algorithm runs in O (nd ) time and is used for the study of freeness of partial words. Furthermore, we construct an infinite word over a five-letter alphabet that is overlap-free even after the insertion of an arbitrary number of holes, answering affirmatively a conjecture from Blanchet-Sadri, Mercas, and Scott.
Theoretical Informatics and Applications | 2009
Francine Blanchet-Sadri; Robert Mercaş
A well known result of Fraenkel and Simpson states that the number of distinct squares in a word of length n is bounded by 2n since at each position there are at most two distinct squares whose last occurrence starts. In this paper, we investigate squares in partial words with one hole, or sequences over a finite alphabet that have a “do not know” symbol or “hole”. A square in a partial word over a given alphabet has the form uv where u is compatible with v, and consequently, such square is compatible with a number of words over the alphabet that are squares. Recently, it was shown that for partial words with one hole, there may be more than two squares that have their last occurrence starting at the same position. Here, we prove that if such is the case, then the length of the shortest square is at most half the length of the third shortest square. As a result, we show that the number of distinct squares compatible with factors of a partial word with one hole of length n is bounded by (symbol cannot be rendered).
Theoretical Informatics and Applications | 2014
Robert Mercaş; Aleksi Saarela
A k -abelian cube is a word uvw , where the factors u , v , and w are either pairwise equal, or have the same multiplicities for every one of their factors of length at most k . Previously it has been shown that k -abelian cubes are avoidable over a binary alphabet for k ≥ 8. Here it is proved that this holds for k ≥ 5.
symposium on theoretical aspects of computer science | 2013
Paweł Gawrychowski; Florin Manea; Robert Mercaş; Dirk Nowotka; Catalin Tiseanu
Pseudo-repetitions are a natural generalization of the classical notion of repetitions in sequences. We solve fundamental algorithmic questions on pseudo-repetitions by application of insightful combinatorial results on words. More precisely, we efficiently decide whether a word is a pseudorepetition and find all the pseudo-repetitive factors of a word.
Journal of Combinatorial Theory | 2012
Francine Blanchet-Sadri; Jane I. Kim; Robert Mercaş; William Severa; Sean Simmons; Dimin Xu
Erdos raised the question whether there exist infinite abelian square-free words over a given alphabet, that is, words in which no two adjacent subwords are permutations of each other. It can easily be checked that no such word exists over a three-letter alphabet. However, infinite abelian square-free words have been constructed over alphabets of sizes as small as four. In this paper, we investigate the problem of avoiding abelian squares in partial words, or sequences that may contain some holes. In particular, we give lower and upper bounds for the number of letters needed to construct infinite abelian square-free partial words with finitely or infinitely many holes. Several of our constructions are based on iterating morphisms. In the case of one hole, we prove that the minimal alphabet size is four, while in the case of more than one hole, we prove that it is five. We also investigate the number of partial words of length n with a fixed number of holes over a five-letter alphabet that avoid abelian squares and show that this number grows exponentially with n.
symposium on theoretical aspects of computer science | 2015
Henning Fernau; Florin Manea; Robert Mercaş; Markus L. Schmid
A pattern (i. e., a string of variables and terminals) maps to a word, if this is obtained by uniformly replacing the variables by terminal words; deciding this is NP-complete. We present efficient algorithms\footnote{The computational model we use is the standard unit-cost RAM with logarithmic word size. Also, all logarithms appearing in our time complexity evaluations are in base 2.} that solve this problem for restricted classes of patterns. Furthermore, we show that it is NP-complete to decide, for a given number k and a word w, whether w can be factorised into k distinct factors; this shows that the injective version (i.e., different variables are replaced by different words) of the above matching problem is NP-complete even for very restricted cases.
developments in language theory | 2013
Robert Mercaş; Aleksi Saarela
A k-abelian cube is a word uvw, where u, v, w have the same factors of length at most k with the same multiplicities. Previously it has been known that k-abelian cubes are avoidable over a binary alphabet for k ≥ 5. Here it is proved that this holds for k ≥ 3.
Journal of Discrete Algorithms | 2015
Thorsten Ehlers; Florin Manea; Robert Mercaş; Dirk Nowotka
Two words are called k-abelian equivalent, if they share the same multiplicities for all factors of length at most k. We present an optimal linear time algorithm for identifying all occurrences of factors in a text that are k-abelian equivalent to some pattern P. Moreover, an optimal algorithm for finding the largest k for which two words are k-abelian equivalent is given. Solutions for online versions of the k-abelian pattern matching problem are also proposed.