Order-Preserving Pattern Matching Indeterminate Strings

05/07/2019
by   Diogo Costa, et al.
0

Given an indeterminate string pattern p and an indeterminate string text t, the problem of order-preserving pattern matching with character uncertainties (μOPPM) is to find all substrings of t that satisfy one of the possible orderings defined by p. When the text and pattern are determinate strings, we are in the presence of the well-studied exact order-preserving pattern matching (OPPM) problem with diverse applications on time series analysis. Despite its relevance, the exact OPPM problem suffers from two major drawbacks: 1) the inability to deal with indetermination in the text, thus preventing the analysis of noisy time series; and 2) the inability to deal with indetermination in the pattern, thus imposing the strict satisfaction of the orders among all pattern positions. This paper provides the first polynomial algorithm to answer the μOPPM problem when indetermination is observed on the pattern or text. Given two strings with length m and O(r) uncertain characters per string position, we show that the μOPPM problem can be solved in O(mr r) time when one string is indeterminate and r∈N^+. Mappings into satisfiability problems are provided when indetermination is observed on both the pattern and the text, and results concerning the general problem complexity are presented as well, with μOPPM problem proved to be NP-hard in general.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/09/2022

Cartesian Tree Subsequence Matching

Park et al. [TCS 2020] observed that the similarity between two (numeric...
research
07/24/2019

Exhaustive Exact String Matching: The Analysis of the Full Human Genome

Exact string matching has been a fundamental problem in computer science...
research
10/25/2019

Massively Parallel Algorithms for String Matching with Wildcards

We study distributed algorithms for string matching problem in presence ...
research
08/23/2021

On Specialization of a Program Model of Naive Pattern Matching in Strings (Extended Abstract)

We have proved that for any pattern p the tail recursive program model o...
research
05/01/2010

The Exact Closest String Problem as a Constraint Satisfaction Problem

We report (to our knowledge) the first evaluation of Constraint Satisfac...
research
09/26/2022

Inferring strings from position heaps in linear time

Position heaps are index structures of text strings used for the exact s...
research
05/06/2020

Quantum pattern matching Oracle construction

We propose a couple of oracle construction methods for quantum pattern m...

Please sign up or login with your details

Forgot password? Click here to reset