Property testing algorithms are highly efficient algorithms, that come with probabilistic accuracy guarantees. For a property P, the goal is to distinguish inputs that have P from those that are far from having P with high probability correctly, by querying only a small number of local parts of the input. In property testing on graphs, the distance is measured by the number of edge modifications (additions or deletions), that are necessary to transform a graph into one with property P. Much research has focussed on the query complexity of such algorithms, i. e. the number of queries the algorithm makes to the input, but in view of applications, the running time of the algorithm is equally relevant. In (Adler, Harwath STACS 2018), a natural extension of the bounded degree graph model of property testing to relational databases of bounded degree was introduced, and it was shown that on databases of bounded degree and bounded tree-width, every property that is expressible in monadic second-order logic with counting (CMSO) is testable with constant query complexity and sublinear running time. It remains open whether this can be improved to constant running time. In this paper we introduce a new model, which is based on the bounded degree model, but the distance measure allows both edge (tuple) modifications and vertex (element) modifications. Our main theorem shows that on databases of bounded degree and bounded tree-width, every property that is expressible in CMSO is testable with constant query complexity and constant running time in the new model. We also show that every property that is testable in the classical model is testable in our model with the same query complexity and running time, but the converse is not true. We argue that our model is natural and our meta-theorem showing constant-time CMSO testability supports this.
翻译:属性测试算法是高效的算法, 具有概率精确度保障。 对于属性 P, 目标是通过只查询少量输入的本地部分来区分 P 的输入和远非 P 的输入。 在图形中, 属性测试的距离以边缘修改( 添加或删除) 的数量来衡量, 这对于将图表转换成带有属性 P 。 大量研究侧重于这些算法的查询复杂性, 即算法对输入的查询次数, 但从应用角度看, 算法的运行时间同样相关。 在( 阿德勒、 哈瓦特 STACS 2018) 中, 属性测试的封闭度图形模型与约束程度数据库的自然延伸被引入, 并且我们连接的树宽度数据库显示, 连接度第二级逻辑( CMSO) 的每个属性都是以不断的查询复杂性和子线运行时间运行时间运行时间为测试的测试时间。 我们的不断的运行轨迹测试模型显示, 我们的不断的运行时间测试模型显示, 将显示我们每个运行的不断的运行的运行的运行状态测试, 将显示我们不断的不断的运行的运行的运行的运行的运行中的时间 。