首页    期刊浏览 2024年11月29日 星期五
登录注册

文章基本信息

  • 标题:Geometric Point Pattern Matching in the Knuth-Morris-Pratt Way
  • 本地全文:下载
  • 作者:Esko Ukkonen (University of Helsinki, Finland)
  • 期刊名称:Journal of Universal Computer Science
  • 印刷版ISSN:0948-6968
  • 出版年度:2010
  • 卷号:16
  • 期号:14
  • 出版社:Graz University of Technology and Know-Center
  • 摘要:Given finite sets P and T of points in the Euclidean space R d , the point pattern matching problem studied in this paper is to find all translations f ∈ R d such that P + f ⊆ T . A fast search algorithm with some variants is presented for point patterns P that have regular grid-like geometric shape. The algorithm is analogous to the Knuth-Morris-Pratt algorithm of string matching. The time requirement of the search is O ( r | T |) where r is the grid dimension of P . Pattern P has grid dimension r = 1 if it consists of evenly spaced points on a line. In general, a pattern P is an r -dimensional grid if it has for some p ∈ P and e 1, ... , erR d and positive integers m 1, ... , mr a representation P = { p + i 1 e 1 + ⋅⋅⋅ + irer | 0 ≤ ij ≤ mj } where the ij 's are integers. Both P and T are given to the search algorithm in the lexicographic order.
  • 关键词:Knuth-Morris-Pratt algorithm, pattern matching, point sets, translation
国家哲学社会科学文献中心版权所有