For a permutation π:[k]→[k], a function f:[n]→Rcontains a π-appearance if there exists 1≤i1<i2<⋯<ik≤n such that for all s,t∈[k], f(is)<f(it) if and only ifπ(s)<π(t). The function is π-free if it has no π-appearances.In this paper, we investigate the problem of testing whether an input functionf is π-free or whether f differs on at least εn valuesfrom every π-free function. This is a generalization of the well-studiedmonotonicity testing and was first studied by Newman, Rabinovich,Rajendraprasad and Sohler (Random Structures and Algorithms 2019). We show thatfor all constants k∈N, ε∈(0,1), and permutationπ:[k]→[k], there is a one-sided error ε-testing algorithmfor π-freeness of functions f:[n]→R that makesO~(no(1)) queries. We improve significantly upon the previous bestupper bound O(n1−1/(k−1)) by Ben-Eliezer and Canonne (SODA 2018). Ouralgorithm is adaptive, while the earlier best upper bound is known to be tightfor nonadaptive algorithms.Comment: 28 pages, 2 figures; We thank anonymous reviewers for comments that helped us significantly improve the presentatio
Is data on this page outdated, violates copyrights or anything else? Report the problem now and we will take corresponding actions after reviewing your request.