Testing for forbidden order patterns in an array

Ilan Newman, Yuri Rabinovich, Deepak Rajendraprasad, Christian Sohler

Research output: Contribution to journal ā€ŗ Article ā€ŗ peer-review

Abstract

A sequence f āˆ¶ [n] ā†’ R contains a pattern šœ‹ Ļ€āˆˆSk, that is, a permutations of [k], iff there are indices i1 < ā€¦ < ik, such that f(ix) > f(iy) whenever Ļ€(x) > Ļ€(y). Otherwise, f is Ļ€-free. We study the property testing problem of distinguishing, for a fixed Ļ€, between Ļ€-free sequences and the sequences which differ from any Ļ€-free sequence in more than Ļµ n places. Our main findings are as follows: (1) For monotone patterns, that is, Ļ€ = (k,k āˆ’ 1,ā€¦,1) and Ļ€ = (1,2,ā€¦,k), there exists a nonadaptive one-sided error Ļµ-test of (Ļµšœ–āˆ’1 log n)O(k2) query complexity. For any other Ļ€, any nonadaptive one-sided error test requires Ī©(āˆšn) queries. The latter lower-bound is tight for Ļ€ = (1,3,2). For specific Ļ€āˆˆSk it can be strengthened to Ī©(n1 āˆ’ 2/(k + 1)). The general case upper-bound is O(Ļµāˆ’1/kn1 āˆ’ 1/k). (2) For adaptive testing the situation is quite different. In particular, for any Ļ€āˆˆS3 there exists an adaptive Ļµ-tester of (Ļµšœ–āˆ’1 log n)O(1) query complexity.

Original languageAmerican English
Pages (from-to)402-426
Number of pages25
JournalRandom Structures and Algorithms
Volume55
Issue number2
DOIs
StatePublished - Sep 2019

Keywords

  • Adaptive Testing
  • Monotonicity Testing
  • Non-adaptive Testing
  • Property Testing

All Science Journal Classification (ASJC) codes

  • Software
  • Applied Mathematics
  • General Mathematics
  • Computer Graphics and Computer-Aided Design

Fingerprint

Dive into the research topics of 'Testing for forbidden order patterns in an array'. Together they form a unique fingerprint.

Cite this