一个证明查询下界的方法

J. M., Sridhar S. Iyer
{"title":"一个证明查询下界的方法","authors":"J. M., Sridhar S. Iyer","doi":"10.1145/2591708.2591736","DOIUrl":null,"url":null,"abstract":"The query-model or decision-tree model is a computational model in which the algorithm has to solve a given problem by making a sequence of queries which have 'Yes' or 'No' answers. A large class of algorithms can be described on this model and we can also prove non-trivial lower bounds for many problems on this model.\n Many lower bounds on the query-model are proved using a technique called adversary argument. In CS courses, a common example used to illustrate the adversary argument is the following problem: Suppose there is an unweighted graph G with $n$ vertices represented by an adjacency matrix. We want to test if the graph is connected. How many entries in the adjacency matrix do we have to probe in order to test if the graph has this property (property being 'connectivity')? Each probe is considered as a query.\n Since the adjacency matrix has only n^2 entries, O(n^2) queries are sufficient. It is also known that Omega(n^2) queries are necessary. Proving this lower bound is more difficult and is done using the adversary argument.\n In literature, we find that lower bound proofs of this problem rely too much on 'connectivity' property and do not generalize well. When the property being tested is changed, the proof changes significantly. Our contribution is a method that gives a systematic way of proving lower bounds for problems involving testing of many graph-properties. We did a pilot experiment and found that students were able to understand and apply our method.","PeriodicalId":334476,"journal":{"name":"Annual Conference on Innovation and Technology in Computer Science Education","volume":"36 8 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-06-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A method to prove query lower bounds\",\"authors\":\"J. M., Sridhar S. Iyer\",\"doi\":\"10.1145/2591708.2591736\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The query-model or decision-tree model is a computational model in which the algorithm has to solve a given problem by making a sequence of queries which have 'Yes' or 'No' answers. A large class of algorithms can be described on this model and we can also prove non-trivial lower bounds for many problems on this model.\\n Many lower bounds on the query-model are proved using a technique called adversary argument. In CS courses, a common example used to illustrate the adversary argument is the following problem: Suppose there is an unweighted graph G with $n$ vertices represented by an adjacency matrix. We want to test if the graph is connected. How many entries in the adjacency matrix do we have to probe in order to test if the graph has this property (property being 'connectivity')? Each probe is considered as a query.\\n Since the adjacency matrix has only n^2 entries, O(n^2) queries are sufficient. It is also known that Omega(n^2) queries are necessary. Proving this lower bound is more difficult and is done using the adversary argument.\\n In literature, we find that lower bound proofs of this problem rely too much on 'connectivity' property and do not generalize well. When the property being tested is changed, the proof changes significantly. Our contribution is a method that gives a systematic way of proving lower bounds for problems involving testing of many graph-properties. We did a pilot experiment and found that students were able to understand and apply our method.\",\"PeriodicalId\":334476,\"journal\":{\"name\":\"Annual Conference on Innovation and Technology in Computer Science Education\",\"volume\":\"36 8 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2014-06-21\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Annual Conference on Innovation and Technology in Computer Science Education\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/2591708.2591736\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Annual Conference on Innovation and Technology in Computer Science Education","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2591708.2591736","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

查询模型或决策树模型是一种计算模型,其中算法必须通过一系列具有“是”或“否”答案的查询来解决给定的问题。在这个模型上可以描述大量的算法,我们也可以证明许多问题的非平凡下界。查询模型的许多下界都是使用一种称为对手参数的技术来证明的。在计算机科学课程中,一个常见的例子用来说明对手的论点是以下问题:假设有一个未加权的图G,有$n$个顶点,由邻接矩阵表示。我们想测试图是否连通。为了测试图是否具有这个属性(属性是“连通性”),我们需要探测邻接矩阵中的多少个条目?每个探测都被视为一个查询。由于邻接矩阵只有n^2个条目,因此O(n^2)个查询就足够了。我们也知道(n^2)查询是必要的。证明这个下界比较困难,用的是对位论证。在文献中,我们发现这个问题的下界证明过于依赖于“连通性”性质,不能很好地推广。当被测试的属性发生变化时,证明会发生显着变化。我们的贡献是提供了一种系统的方法来证明涉及许多图性质测试的问题的下界。我们做了一个试点实验,发现学生们能够理解并应用我们的方法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
A method to prove query lower bounds
The query-model or decision-tree model is a computational model in which the algorithm has to solve a given problem by making a sequence of queries which have 'Yes' or 'No' answers. A large class of algorithms can be described on this model and we can also prove non-trivial lower bounds for many problems on this model. Many lower bounds on the query-model are proved using a technique called adversary argument. In CS courses, a common example used to illustrate the adversary argument is the following problem: Suppose there is an unweighted graph G with $n$ vertices represented by an adjacency matrix. We want to test if the graph is connected. How many entries in the adjacency matrix do we have to probe in order to test if the graph has this property (property being 'connectivity')? Each probe is considered as a query. Since the adjacency matrix has only n^2 entries, O(n^2) queries are sufficient. It is also known that Omega(n^2) queries are necessary. Proving this lower bound is more difficult and is done using the adversary argument. In literature, we find that lower bound proofs of this problem rely too much on 'connectivity' property and do not generalize well. When the property being tested is changed, the proof changes significantly. Our contribution is a method that gives a systematic way of proving lower bounds for problems involving testing of many graph-properties. We did a pilot experiment and found that students were able to understand and apply our method.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信