arXiv論文メモ
新着一覧
cs.DS · 査読状況未確認

あいまいな文字列を探すBoyer–Moore法の改良と比較

Boyer-Moore Variants for Indeterminate String Matching and Experimental Evaluation

Neerja Mhaskar and Nivetha Raj Pappuraj

この論文をやさしく読む

ひとことで言うと

一つの位置に複数の候補文字がある文字列を速く正確に検索するため、Boyer–Moore型の改良法を16種類比較した。

何に役立つ?

あいまいな文字列やゲノム配列の検索方法を選ぶ際、文字種や入力条件に応じた実験結果を参照できる。

この研究の面白いところ

事前計算した一つの表で照合のたびの再計算を避け、条件によって従来法より最大約2桁速くした。

どこまで分かった?

性能評価は合成データと大腸菌K-12 MG1655のゲノムを含む実験条件に基づく。すべての入力で同じ速度差を保証する結果ではない。

v1のアブストラクトに基づくAI解説。日本語訳とは別に、用途の解釈を含みます。

アブストラクトの日本語訳

本研究は、テキストやパターンの各位置が一文字ではなく文字の集合を表し得る「あいまいな文字列」で、パターンを正確に探す問題を扱う。Boyer–Moore型の方法に着目し、新しい不一致文字規則BC Rules I–IVと、新しい一致接尾辞の処理方法を提示する。後者はFast_GSR_Indet_Shiftで事前に計算し、一つの位置ごとの表を使ってずらすことで、BM_Indetで必要だった照合位置ごとの再計算を避ける。Horspool、Sunday、Zhu–Takaokaなどの従来の不一致文字規則の適応法と、それらにFast_GSR_Indet_Shiftを組み合わせた方法を含む16種類のアルゴリズムを体系的に実験比較した。合成データでの規模を変えた実験と、大腸菌K-12 MG1655のゲノムを使った事例研究では、Fast_BM_Indetの組み合わせ法がBM_IndetとKMP_Indetを一貫して上回り、一部の条件では最大で約2桁速かった。また、文字種が少ない場合とゲノムデータではZhu–Takaokaが不一致文字規則だけを使う方法の中で最も優れ、BC Rule Iを用いるFast_BM_Indetも同程度の性能を示して文字種が多い場合に有望だった。最後に、あいまいな文字列への用途に応じた方法の選び方を示す。

v1の要旨から自動生成。本文の精読・人による確認は未実施。

初稿
2026-09-23(UTC)
最新改訂
2026-09-23 · v1
査読・掲載
査読状況未確認
arXivで読むPDF

更新履歴

取得できた版を表示。版の更新は査読済みを意味しません。過去版の本文差分は未解析です。

原文の要旨

We study exact pattern matching on indeterminate strings, where a text or pattern position may represent a set of symbols rather than a single letter. Focusing on Boyer-Moore-style methods, we present new bad-character rules (BC Rules I-IV) and a new good-suffix procedure, computed by Fast_GSR_Indet_Shift, which avoids the per alignment recomputation used in BM_Indet [12] by shifting with a single preprocessed position-indexed table. We conduct a systematic experimental evaluation of sixteen algorithms, including classical bad-character adaptations (e.g., Horspool, Sunday, and Zhu-Takaoka) and hybrids that combine these bad-character rules with Fast_GSR_Indet_Shift. Across synthetic scaling experiments and a case study on the E. coli K-12 MG1655 genome, the Fast_BM_Indet hybrids consistently outperform BM_Indet and KMP_Indet [12], in some settings by up to two orders of magnitude. We also find that Zhu-Takaoka is the strongest bad-character-only adaptation on small alphabets and genomic data, while the Fast_BM_Indet variant using BC Rule I offers comparable performance, making it attractive for larger alphabets. We conclude with practical guidance on choosing among these variants for indeterminate string applications.

著者のコメント

17 pages, 3 Figures, 1 Table

arXiv ID: 2609.27170 / 要約の誤りについて