Approximating general metric distances between a pattern and a text

From MaRDI portal





Let \(T=t_0 ... t_{n-1}\) be a text and \(P = p_0\dots p_{m-1}\) a pattern taken from some finite alphabet set \(\Sigma\), and let \(\mathrm{dist}\) be a metric on \(\Sigma\). We consider the problem of calculating the sum of distances between the symbols of \(P\) and the symbols of substrings of \(T\) of length \(m\) for all possible offsets. We present an \(\varepsilon\)-approximation algorithm for this problem which runs in time \(O(\frac{1}{\varepsilon^2}n\cdot \mathrm{polylog}(n,\mathrm{abs}{\Sigma}))\) For the entire collection see [Zbl 1190.68002].











This page was built for publication: Approximating general metric distances between a pattern and a text

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3579401)