Fast circular dictionary-matching algorithm. (11th May 2015)
- Record Type:
- Journal Article
- Title:
- Fast circular dictionary-matching algorithm. (11th May 2015)
- Main Title:
- Fast circular dictionary-matching algorithm
- Authors:
- ATHAR, TANVER
BARTON, CARL
BLAND, WIDMER
GAO, JIA
ILIOPOULOS, COSTAS S.
LIU, CHANG
PISSIS, SOLON P. - Abstract:
- Abstract : Circular string matching is a problem which naturally arises in many contexts. It consists in finding all occurrences of the rotations of a pattern of length m in a text of length n . There exist optimal worst- and average-case algorithms for circular string matching. Here, we present a suboptimal average-case algorithm for circular string matching requiring time $\mathcal{O}$ ( n ) and space $\mathcal{O}$ ( m ). The importance of our contribution is underlined by the fact that the proposed algorithm can be easily adapted to deal with circular dictionary matching. In particular, we show how the circular dictionary-matching problem can be solved in average-case time $\mathcal{O}$ ( n + M ) and space $\mathcal{O}$ ( M ), where M is the total length of the dictionary patterns, assuming that the shortest pattern is sufficiently long. Moreover, the presented average-case algorithms and other worst-case approaches were also implemented. Experimental results, using real and synthetic data, demonstrate that the implementation of the presented algorithms can accelerate the computations by more than a factor of two compared to the corresponding implementation of other approaches.
- Is Part Of:
- Mathematical structures in computer science. Volume 27:Number 2(2017)
- Journal:
- Mathematical structures in computer science
- Issue:
- Volume 27:Number 2(2017)
- Issue Display:
- Volume 27, Issue 2 (2017)
- Year:
- 2017
- Volume:
- 27
- Issue:
- 2
- Issue Sort Value:
- 2017-0027-0002-0000
- Page Start:
- 143
- Page End:
- 156
- Publication Date:
- 2015-05-11
- Subjects:
- Computer science -- Mathematics -- Periodicals
004.015105 - Journal URLs:
- http://journals.cambridge.org/action/displayJournal?jid=MSC ↗
- DOI:
- 10.1017/S0960129515000134 ↗
- Languages:
- English
- ISSNs:
- 0960-1295
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD Digital store
- Ingest File:
- 1395.xml