Back to Search
Start Over
A new efficient indexing algorithm for one-dimensional real scaled patterns
- Source :
-
Journal of Computer & System Sciences . Jan2012, Vol. 78 Issue 1, p273-278. 6p. - Publication Year :
- 2012
-
Abstract
- Abstract: Given a pattern string P and a text string T, the one-dimensional real-scale pattern matching problem is to ask for all matched positions in T at which P occurs for some real scales ⩾1. The real-scale indexing problem, which is derived from the real-scale matching problem, aims to preprocess T, so that all positions of scaled P in T can be answered efficiently. In this paper, we propose an improved algorithm for the real-scale indexing problem. For constant-sized alphabets, our preprocessing takes time and space, achieving the answering time , where denotes the number of matched positions and . For the case of large-sized alphabets, our preprocessing can still be implemented with time and space, while the answering time is slightly increased to . Compared to Wangʼs preprocessing algorithm with time, our new indexing algorithm is a significant improvement. [Copyright &y& Elsevier]
Details
- Language :
- English
- ISSN :
- 00220000
- Volume :
- 78
- Issue :
- 1
- Database :
- Academic Search Index
- Journal :
- Journal of Computer & System Sciences
- Publication Type :
- Academic Journal
- Accession number :
- 67517884
- Full Text :
- https://doi.org/10.1016/j.jcss.2011.05.001