Online and Dynamic Detection of Squares in Strings
スポンサーリンク
概要
- 論文の詳細を見る
The online squarefree recognition problem is to detect the first occurrence of a square in a string whose characters are provided as input one at a time. We present an efficient algorithm to solve this problem for strings over arbitrarily ordered alphabets. Its running time is O(n log n), where n is the ending position of the first square, which matches the running times of the fastest known algorithms for the analogous offline problem. We also present a very simple algorithm for a dynamic version of the problem over general alphabets in which we are initially given a squarefree string, followed by a series of updates, and the objective is to determine after each update if the resulting string contains a square and if so, report it and stop.
- 社団法人電子情報通信学会の論文
- 2005-06-17
著者
-
Jesper Jansson
お茶の水大学
-
Jansson Jesper
九州大学大学院システム情報科学研究院
-
Jansson Jesper
Theoretical Computer Science Group (yamashita Laboratory) Department Of Computer Science And Communi
-
PENG Zeshan
Department of Computer Science, The University of Hong Kong
-
Jansson J
九州大学大学院システム情報科学研究院
-
Peng Zeshan
Department Of Computer Science The University Of Hong Kong
関連論文
- グラフの最小出次数最大化問題
- 最大重み付き出次数を最小化するグラフ有向化問題の近似(不)可能性
- Online and Dynamic Detection of Squares in Strings
- 局所情報を用いたランダムウォークの拡張
- 局所情報を用いたランダムウォークの拡張
- 順序木の新しい表現法
- メモリの圧縮
- 次数上下界制約付きグラフ向き付けにおけるペナルティ最小化