Dictionary Matching with One Gap

We are given a text TT of length nn over alphabet Σ\Sigma, and a dictionary DD of dd gapped patterns P1,,PdP_1, \dots, P_d over alphabet Σ\Sigma where each pattern has at most one gap. We wish to output all locations in TT where a pattern PiDP_i\in D, 1id1\leq i\leq d, ends. (A gapped pattern PP is one of the form P1{α,β}P2P^1 \{\alpha, \beta\} P^2 where each subpattern P1P^1, P2P^2 is a string over alphabet Σ\Sigma, and {α,β}\{\alpha, \beta\} matches any substring of length at least α\alpha and at most β\beta.)

Parameters

  • nn: length of text
  • Σ|\Sigma|: size of alphabet
  • dd: number of patterns
  • mm: (max) pattern length

Insufficient data to display graph

Filters

Computational Model

Randomization

Approximation

Algorithms Table

Insuffient Data to display table

Reductions Table

Displaying 1 of 1 reductions

Other relevant algorithms

Insuffient Data to display table