BPBM: An Algorithm for String Matching with Wildcards and Length Constraints

  • Authors:
  • Xiao-Li Hong;Xindong Wu;Xue-Gang Hu;Ying-Ling Liu;Jun Gao;Gong-Qing Wu

  • Affiliations:
  • School of Computer Science and Information Engineering, Hefei University of Technology, Hefei, China 230009;School of Computer Science and Information Engineering, Hefei University of Technology, Hefei, China 230009 and Department of Computer Science, University of Vermont, Burlington, USA 05405;School of Computer Science and Information Engineering, Hefei University of Technology, Hefei, China 230009;School of Computer Science and Information Engineering, Hefei University of Technology, Hefei, China 230009;School of Computer Science and Information Engineering, Hefei University of Technology, Hefei, China 230009;School of Computer Science and Information Engineering, Hefei University of Technology, Hefei, China 230009

  • Venue:
  • RSFDGrC '09 Proceedings of the 12th International Conference on Rough Sets, Fuzzy Sets, Data Mining and Granular Computing
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Pattern matching with wildcards and length constraints under the one-off condition is a challenging topic. We propose an algorithm BPBM, based on bit parallelism and the Boyer-Moore algorithm, that outputs an occurrence of a given pattern P as soon as the pattern appears in the given sequence. The experimental results show that our BPBM algorithm has an improved time performance of over 50% with the same matching results when compared with SAIL, a state-of-the-art algorithm of this matching problem. The superiority is even more remarkable when the scale of the pattern increases.