2016
DOI: 10.1142/s0129054116500143
|View full text |Cite
|
Sign up to set email alerts
|

Algorithms for Longest Common Abelian Factors

Abstract: 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 2 ) 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 interesting tricks and experimentally show that the resulting algorithm runs faster.

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
16
0

Year Published

2016
2016
2021
2021

Publication Types

Select...
2
2
1

Relationship

1
4

Authors

Journals

citations
Cited by 5 publications
(16 citation statements)
references
References 9 publications
0
16
0
Order By: Relevance
“…A pair (s 1 , s 2 ) of a substring s 1 of w 1 and a substring s 2 of w 2 is said to be a common Abelian factor of w 1 and w 2 , iff s 1 and s 2 are Abelian equivalent. Alatabbi et al [1] proposed an O(σn 2 )-time and O(σn)space algorithm to solve Problem 3 of computing all longest common Abelian factors (LCAFs) of two given strings of total length n. Later, Grabowski [10] showed an algorithm which finds all LCAFs in O(σn 2 ) time with O(n) space. He also presented an O(( σ k + log σ)n 2 log n)-time O(kn)-space algorithm for a parameter k ≤ σ log σ .…”
Section: Our Problems and Previous Resultsmentioning
confidence: 99%
See 1 more Smart Citation
“…A pair (s 1 , s 2 ) of a substring s 1 of w 1 and a substring s 2 of w 2 is said to be a common Abelian factor of w 1 and w 2 , iff s 1 and s 2 are Abelian equivalent. Alatabbi et al [1] proposed an O(σn 2 )-time and O(σn)space algorithm to solve Problem 3 of computing all longest common Abelian factors (LCAFs) of two given strings of total length n. Later, Grabowski [10] showed an algorithm which finds all LCAFs in O(σn 2 ) time with O(n) space. He also presented an O(( σ k + log σ)n 2 log n)-time O(kn)-space algorithm for a parameter k ≤ σ log σ .…”
Section: Our Problems and Previous Resultsmentioning
confidence: 99%
“…Solution (2) is faster than the O(n(log log n+log σ))-time solution by Kociumaka et al [11] for highly RLE-compressible strings with log log n = ω(m) 1 .…”
Section: Our Contributionmentioning
confidence: 90%
“…We have P(R 1 ) = (5, ⋆, 4, ⋆, 3) and P(R 2 ) = (⋆, 2, 4, ⋆, 3). Here the set ∆(R 1 , R 2 ) stores the intervals {5}, [1,3], and [1,6] from R 1 and [4,5], {2}, and [2,5] from R 2 that correspond to the coordinates 1, 2, and 4.…”
Section: Algorithm For Rle-lcaf Over Large Alphabetmentioning
confidence: 99%
“…We have presented efficient algorithms for the LCAF and RLE-LCAF problems: For LCAF over a constant-sized alphabet, we have obtained an over-logarithmic speedup comparing to a naive O(n 2 )-time solution. Let us recall that over the binary alphabet, LCAF can be solved much more efficiently, in O(n 1.859 ) time [2,10]. An open question is to design an O(n 2−ε )-time algorithm (ε > 0) for LCAF for alphabet of any constant size, e.g., for σ = 3.…”
Section: Conclusion and Open Problemsmentioning
confidence: 99%
See 1 more Smart Citation