A note on the longest common Abelian factor problem
نویسنده
چکیده
Abelian string matching problems are becoming an object of considerable interest in last years. Very recently, Alatabbi et al. [1] presented the first solution for the longest common Abelian factor problem for a pair of strings, reaching O(σn) time with O(σn log n) bits of space, where n is the length of the strings and σ is the alphabet size. In this note we show how the time complexity can be preserved while the space is reduced by a factor of σ, and then how the time complexity can be improved, if the alphabet is not too small, when superlinear space is
منابع مشابه
Algorithms for Longest Common Abelian Factors
In this paper we consider the problem of computing the longest common abelian factor (LCAF) between two given strings. We present a simple O(σ n) time algorithm, where n is the length of the strings and σ is the alphabet size, and a sub-quadratic running time solution for the binary string case, both having linear space requirement. Furthermore, we present a modified algorithm applying some int...
متن کاملComputing Abelian regularities on RLE strings
Two strings x and y are said to be Abelian equivalent if x is a permutation of y, or vice versa. If a string z satisfies z = xy with x and y being Abelian equivalent, then z is said to be an Abelian square. If a string w can be factorized into a sequence v1, . . . , vs of strings such that v1, . . . , vs−1 are all Abelian equivalent and vs is a substring of a permutation of v1, then w is said t...
متن کاملA note on "An interval type-2 fuzzy extension of the TOPSIS method using alpha cuts"
The technique for order of preference by similarity to ideal solution (TOPSIS) is a method based on the ideal solutions in which the most desirable alternative should have the shortest distance from positive ideal solution and the longest distance from negative ideal solution. Depending on type of evaluations or method of ranking, different approaches have been proposing to calculate distances ...
متن کاملA Specialized Branching and Fathoming Technique for The Longest Common Subsequence Problem
Given a set S = {S1, ..., Sk} of finite strings, the k-longest common subsequence problem (k-LCSP) seeks a string L of maximum length such that L is a subsequence of each Si for i = 1, ..., k. This paper presents a technique, specialized branching, that solves k-LCSP. Specialized branching combines the benefits of both dynamic programming and branch and bound to reduce the search space. For la...
متن کاملA Further Note on Runs in Independent Sequences
Given a sequence of letters generated independently from a finite alphabet, we consider the case when more than one, but not all, letters are generated with the highest probability. The length of the longest run of any of these letters is shown to be one greater than the length of the longest run in a particular state of an associated Markov chain. Using results of Foulser and Karlin (19...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- CoRR
دوره abs/1503.01093 شماره
صفحات -
تاریخ انتشار 2015