• Home
  • Search
  • Towards Optimal Approximate Streaming Pattern Matching by Matching Multiple Patterns in Multiple Streams
  • Cite Icon18
  • https://doi.org/10.4230/lipics.icalp.2018.65Copy DOI Icon

Towards Optimal Approximate Streaming Pattern Matching by Matching Multiple Patterns in Multiple Streams

  • Abstract
  • Literature Map
  • Citations
  • Similar Papers
Abstract

Recently, there has been a growing focus in solving approximate pattern matching problems in the streaming model. Of particular interest are the pattern matching with k-mismatches (KMM) problem and the pattern matching with w-wildcards (PMWC) problem. Motivated by reductions from these problems in the streaming model to the dictionary matching problem, this paper focuses on designing algorithms for the dictionary matching problem in the multi-stream model where there are several independent streams of data (as opposed to just one in the streaming model), and the memory complexity of an algorithm is expressed using two quantities: (1) a read-only shared memory storage area which is shared among all the streams, and (2) local stream memory that each stream stores separately. In the dictionary matching problem in the multi-stream model the goal is to preprocess a dictionary D={P_1,P_2,...,P_d} of d=|D| patterns (strings with maximum length m over alphabet Sigma) into a data structure stored in shared memory, so that given multiple independent streaming texts (where characters arrive one at a time) the algorithm reports occurrences of patterns from D in each one of the texts as soon as they appear. We design two efficient algorithms for the dictionary matching problem in the multi-stream model. The first algorithm works when all the patterns in D have the same length m and costs O(d log m) words in shared memory, O(log m log d) words in stream memory, and O(log m) time per character. The second algorithm works for general D, but the time cost per character becomes O(log m+log d log log d). We also demonstrate the usefulness of our first algorithm in solving both the KMM problem and PMWC problem in the streaming model. In particular, we obtain the first almost optimal (up to poly-log factors) algorithm for the PMWC problem in the streaming model. We also design a new algorithm for the KMM problem in the streaming model that, up to poly-log factors, has the same bounds as the most recent results that use different techniques. Moreover, for most inputs, our algorithm for KMM is significantly faster on average.

Similar Papers
  • Conference Article
  • Citations3

Tight Tradeoffs for Real-Time Approximation of Longest Palindromes in Streams.

  • Jan 01, 2016
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Paweł Gawrychowski +3
  • Conference Article
  • Citations22

The sparse awakens: Streaming algorithms for matching size estimation in sparse graphs

  • Sep 01, 2017
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Graham Cormode +3
  • Conference Article
  • Citations1

Robust Algorithms Under Adversarial Injections

  • Jun 13, 2020
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Paritosh Garg +3
  • Conference Article
  • Citations4

A Streaming Algorithm for the Undirected Longest Path Problem

  • Jan 01, 2016
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Lasse Kliemann +2
  • Conference Article

A Clustering Control Scheme for V2V Live Road Surveillance (LRS)

  • Dec 19, 2014
  • Chung-Ming Huang +1
  • Research Article

使用進階加密標準之一H.264/AVC碼流相容選擇性加密方法

  • Jan 01, 2013
  • 李佳橙
  • Research Article
  • Citations4

Multi-User Video Streaming over Multiple Heterogeneous Wireless Networks: A Distributed, Cross-Layer Design Paradigm

  • Jan 01, 2009
  • Journal of Internet Technology
  • Liang Zhou +5
  • Supplementary Content
  • Citations2

Life finds a way: the recovery of frog populations from a chytridiomycosis outbreak

  • Jan 01, 2019
  • Donald T Mcknight
  • Research Article

PERFORMANCE ANALYSIS OF FORWARD ERROR CORRECTION AIDED P2P LIVE-VIDEO STREAMING

  • Jun 30, 2012
  • Nasru Minallah +2
  • Research Article
  • Citations3

Improved Pattern Matching Applied to Surface Mounting Devices Components Localization on Automated Optical Inspection

  • Feb 01, 2017
  • Zenodo (CERN European Organization for Nuclear Research)
  • Pedro M A Vitoriano +1
  • Research Article
  • Citations3

Behavioral analysis of real-time systems with interdependent tasks

  • Nov 18, 2015
  • Critical Care Nursing Clinics of North America
  • M.A Albu
  • Research Article

HSAG-FC: Hybrid of Simulated Annealing with Genetic algorithm and Fuzzy Classification for IDS

  • May 09, 2016
  • International Journal of Computer Science and Information Security
  • J Lekha +1
  • Research Article
  • Citations3

Resource-Aware High Quality Clustering in Ubiquitous Data Streams

  • Dec 01, 2011
  • Journal of Applied Science and Engineering
  • Ching-Ming Chao +1
  • Conference Article

Performance evaluation of rate-based join window sizing for asynchronous data streams

  • Jun 04, 2004
  • Nithya N Vijayakumar +1
  • Research Article
  • Citations12

Design and analysis of a systolic array for neural computation

  • Jan 01, 1994
  • Infoscience (Ecole Polytechnique Fédérale de Lausanne)
  • Marc A Viredaz
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.