Galil Rule
Galil 规则1979
Boyer–Moore 搜索中利用模式串的周期、避免重复比较已确认匹配部分的规则。即使报告全部出现位置,也能保证最坏情况线性时间。
起源
Zvi Galil (1979). On improving the worst case running time of the Boyer-Moore string matching algorithm. Communications of the ACM 22(9).doi:10.1145/359146.359148 — 2026-11-08 已通过 Crossref 核验书目信息
谱系
3 个算法,3 条关系
本算法的源头
从何派生而来
Boyer–Moore1977
作者陈述如论文标题所示,作为改进 Boyer–Moore 字符串匹配最坏运行时间的规则提出。 — doi:10.1145/359146.359148
由本算法派生
延伸出了什么
Apostolico–Giancarlo Algorithm1986
作者陈述论文标题中明确提到 Galil 的策略,并在重新审视后给出新的变体。 — doi:10.1137/0215007
代表性实现
暂无已登记的实现,可通过仓库分析来查找。 仓库分析
更多查找: GitHub · Semantic Scholar · Google Scholar · arXiv
贡献申明与异议
加载中…