字符串搜索算法
弦(物理)
算法
匹配(统计)
Commentz-Walter算法
模式匹配
常量(计算机编程)
块(置换群论)
计算机科学
近似字符串匹配
简单(哲学)
高效算法
字符串度量
数学
组合数学
人工智能
统计
哲学
认识论
程序设计语言
数学物理
作者
Richard M. Karp,Michael O. Rabin
摘要
We present randomized algorithms to solve the following string-matching problem and some of its generalizations: Given a string X of length n (the pattern) and a string Y (the text), find the first occurrence of X as a consecutive block within Y. The algorithms represent strings of length n by much shorter strings called fingerprints, and achieve their efficiency by manipulating fingerprints instead of longer strings. The algorithms require a constant number of storage locations, and essentially run in real time. They are conceptually simple and easy to implement. The method readily generalizes to higher-dimensional pattern-matching problems.
科研通智能强力驱动
Strongly Powered by AbleSci AI