若 ,称 是 -far:把它改成任何满足性质的对象都至少要付出 比例的基本编辑。到性质的距离公理库到性质的距离Distance to property · Distance from a property取对象到性质中最近合法对象的归一化距离,并据此精确定义 close、far 与测试 promise。会区分字符串、编辑和图表示下的分母;只写“差很多”不能确定测试问题。
性质测试只承诺解决上述 gap decision,不自动给出修复方案、距离估计或完整违例证书。若任务要求区分“距离至多 ”与“距离至少 ”、估计实际距离,或局部重建一个近邻合法对象,就必须另行写出输入承诺、输出规格和查询资源;这些能力不能从 tester 的接受概率直接推出。
参考资料
Oded Goldreich, Introduction to Property Testing, Cambridge University Press, 2017, Chapters 1–3.
Ronitt Rubinfeld, “Taming Big Probability Distributions,” XRDS 19(1), 2012, pp. 24–28, and associated sublinear-algorithms surveys.
Oded Goldreich, Shafi Goldwasser, and Dana Ron, “Property Testing and Its Connection to Learning and Approximation,” Journal of the ACM 45(4), 1998, pp. 653–750.