DocumentCode
2398548
Title
Fast pattern matching for entropy bounded text
Author
Chen, Shenfeng ; Reif, John H.
Author_Institution
Dept. of Comput. Sci., Duke Univ., Durham, NC, USA
fYear
1995
fDate
28-30 Mar 1995
Firstpage
282
Lastpage
291
Abstract
We present the first known case of one-dimensional and two-dimensional string matching algorithms for text with bounded entropy. Let n be the length of the text and m be the length of the pattern. We show that the expected complexity of the algorithms is related to the entropy of the text for various assumptions of the distribution of the pattern. For the case of uniformly distributed patterns, our one dimensional matching algorithm works in O(nlogm/(pm)) expected running time where H is the entropy of the text and p=1-(1-H 2)H(1+H)/. The worst case running time T can also be bounded by (n log m/p(m+√V))⩽T⩽(n log m/p(m-√V)) if V is the variance of the source from which the pattern is generated. Our algorithm utilizes data structures and probabilistic analysis techniques that are found in certain lossless data compression schemes
Keywords
computational complexity; data compression; data structures; pattern matching; string matching; data structures; entropy bounded text; expected complexity; fast pattern matching; lossless data compression schemes; one dimensional matching algorithm; probabilistic analysis; string matching algorithms; uniformly distributed patterns; Algorithm design and analysis; Computer science; Contracts; Data compression; Data structures; Entropy; Frequency; Pattern analysis; Pattern matching; Sorting;
fLanguage
English
Publisher
ieee
Conference_Titel
Data Compression Conference, 1995. DCC '95. Proceedings
Conference_Location
Snowbird, UT
ISSN
1068-0314
Print_ISBN
0-8186-7012-6
Type
conf
DOI
10.1109/DCC.1995.515518
Filename
515518
Link To Document