Periodicity in Data Streams with Wildcards

被引:1
|
作者
Ergun, Funda [1 ]
Grigorescu, Elena [2 ]
Azer, Erfan Sadeqi [1 ]
Zhou, Samson [1 ,2 ]
机构
[1] Indiana Univ, Sch Informat & Comp, Bloomington, IN 47405 USA
[2] Purdue Univ, Dept Comp Sci, W Lafayette, IN 47907 USA
基金
美国国家科学基金会;
关键词
Streaming algorithms; Periodicity; Wildcards; Randomized algorithms; String algorithms;
D O I
10.1007/s00224-019-09950-y
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We investigate the problem of detecting periodic trends within a string S of length n, arriving in the streaming model, containing at most k wildcard characters, where k = o(n). A wildcard character is a special character that can be assigned any other character. We say that S has wildcard-period p if there exists an assignment to each of the wildcard characters so that in the resulting stream the prefix of length n - p equals the suffix of length n - p. We present a two-pass streaming algorithm that computes wildcard-periods of S using O(k3 polylog n) bits of space, while we also show that this problem cannot be solved in sublinear space in one pass. We also give a one-pass randomized streaming algorithm that computes all wildcard-periods p of S withp < n2 and no wildcard characters appearing in the last p symbols of S, using O(k3 log9 n) space.
引用
收藏
页码:177 / 197
页数:21
相关论文
共 50 条
  • [1] Periodicity in Data Streams with Wildcards
    Funda Ergün
    Elena Grigorescu
    Erfan Sadeqi Azer
    Samson Zhou
    Theory of Computing Systems, 2020, 64 : 177 - 197
  • [2] On the reification of Java']Java wildcards
    Cimadamore, Maurizio
    Viroli, Mirko
    SCIENCE OF COMPUTER PROGRAMMING, 2008, 73 (2-3) : 59 - 75
  • [3] FISH PREDATION AND THE EVOLUTION OF INVERTEBRATE DRIFT PERIODICITY - EVIDENCE FROM NEOTROPICAL STREAMS
    FLECKER, AS
    ECOLOGY, 1992, 73 (02) : 438 - 448
  • [4] Compressed text indexing with wildcards
    Hon, Wing-Kai
    Ku, Tsung-Han
    Shah, Rahul
    Thankachan, Sharma V.
    Vitter, Jeffrey Scott
    JOURNAL OF DISCRETE ALGORITHMS, 2013, 19 (19) : 23 - 29
  • [5] Pattern Matching with Flexible Wildcards
    Xindong Wu
    Ji-Peng Qiang
    Fei Xie
    Journal of Computer Science and Technology, 2014, 29 : 740 - 750
  • [6] COMPRESSION WITH WILDCARDS: ABSTRACT SIMPLICIAL COMPLEXES
    Wild, Marcel
    QUAESTIONES MATHEMATICAE, 2023, 46 (06) : 1151 - 1173
  • [7] Pattern Matching with Flexible Wildcards
    Wu, Xindong
    Qiang, Ji-Peng
    Xie, Fei
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2014, 29 (05) : 740 - 750
  • [8] Pattern Matching with Flexible Wildcards
    吴信东
    强继朋
    谢飞
    JournalofComputerScience&Technology, 2014, 29 (05) : 740 - 751
  • [9] Efficient string matching with wildcards and length constraints
    Gong Chen
    Xindong Wu
    Xingquan Zhu
    Abdullah N. Arslan
    Yu He
    Knowledge and Information Systems, 2006, 10 : 399 - 419
  • [10] Streaming Pattern Matching with d Wildcards
    Golan, Shay
    Kopelowitz, Tsvi
    Porat, Ely
    ALGORITHMICA, 2019, 81 (05) : 1988 - 2015