Duel and sweep algorithm for order-preserving pattern matching
From MaRDI portal
Abstract: Given a text and a pattern over alphabet , the classic exact matching problem searches for all occurrences of pattern in text . Unlike exact matching problem, order-preserving pattern matching (OPPM) considers the relative order of elements, rather than their real values. In this paper, we propose an efficient algorithm for OPPM problem using the "duel-and-sweep" paradigm. Our algorithm runs in time in general and time under an assumption that the characters in a string can be sorted in linear time with respect to the string size. We also perform experiments and show that our algorithm is faster that KMP-based algorithm. Last, we introduce the two-dimensional order preserved pattern matching and give a duel and sweep algorithm that runs in time for duel stage and time for sweeping time with preprocessing time.
Recommendations
Cited in
(3)
This page was built for publication: Duel and sweep algorithm for order-preserving pattern matching
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q5127200)