scispace - formally typeset
Open AccessBook ChapterDOI

An Improved Algorithm for The <i>k</i>-Dyck Edit Distance Problem

- pp 3650-3669
TLDR
In this paper , the threshold Dyck edit distance problem is considered, where the input is a sequence of parentheses and a positive integer $k, and the goal is to compute the Dyck edits distance of a given pair of parentheses only if the distance is at most $k.
Abstract
A Dyck sequence is a sequence of opening and closing parentheses (of various types) that is balanced. The Dyck edit distance of a given sequence of parentheses $S$ is the smallest number of edit operations (insertions, deletions, and substitutions) needed to transform $S$ into a Dyck sequence. We consider the threshold Dyck edit distance problem, where the input is a sequence of parentheses $S$ and a positive integer $k$, and the goal is to compute the Dyck edit distance of $S$ only if the distance is at most $k$, and otherwise report that the distance is larger than $k$. Backurs and Onak [PODS'16] showed that the threshold Dyck edit distance problem can be solved in $O(n+k^{16})$ time. In this work, we design new algorithms for the threshold Dyck edit distance problem which costs $O(n+k^{4.544184})$ time with high probability or $O(n+k^{4.853059})$ deterministically. Our algorithms combine several new structural properties of the Dyck edit distance problem, a refined algorithm for fast $(\min,+)$ matrix product, and a careful modification of ideas used in Valiant's parsing algorithm.

read more

Citations
More filters
Proceedings ArticleDOI

Õ(n+poly(k))-time Algorithm for Bounded Tree Edit Distance

TL;DR: Recently, Mao et al. as discussed by the authors gave the first O(nk 2 )-time algorithm for tree edit distance, which is the fastest known algorithm for the problem and the fastest algorithm for any edit distance problem.
Proceedings ArticleDOI

Weighted Edit Distance Computation: Strings, Trees, and Dyck

TL;DR: In this article , a deterministic O(n+poly(k))-time algorithm was proposed to compute the weighted version of the unweighted edit distance, where k is an upper bound on the sought total weight of edits.
Proceedings ArticleDOI

Brief Announcement: Regular and Dyck Languages in MPC

TL;DR: In this paper , the authors present a Dyck language recognition and testing algorithm for the MPC model used everyday in big data engineering, which succeeds with high probability using Õ(1 over ε) queries to the input string.