Piotr Berman, Meiram Murzabulatov, Sofya Raskhodnikova, Dragos-Florian Ristache
{"title":"Testing Connectedness of Images","authors":"Piotr Berman, Meiram Murzabulatov, Sofya Raskhodnikova, Dragos-Florian Ristache","doi":"10.1007/s00453-024-01248-x","DOIUrl":null,"url":null,"abstract":"<div><p>We investigate algorithms for testing whether an image is connected. Given a proximity parameter <span>\\({\\epsilon }\\in (0,1)\\)</span> and query access to a black-and-white image represented by an <span>\\(n\\times n\\)</span> matrix of Boolean pixel values, a (1-sided error) connectedness tester accepts if the image is connected and rejects with probability at least 2/3 if the image is <span>\\({\\epsilon }\\)</span>-far from connected. We show that connectedness can be tested nonadaptively with <span>\\(O\\Big (\\frac{1}{{\\epsilon }^2}\\Big )\\)</span> queries and adaptively with <span>\\(O\\Big (\\frac{1}{{\\epsilon }^{3/2}} \\sqrt{\\log \\frac{1}{{\\epsilon }}}\\Big )\\)</span> queries. The best connectedness tester to date, by Berman, Raskhodnikova, and Yaroslavtsev (STOC 2014) had query complexity <span>\\(O\\Big (\\frac{1}{{\\epsilon }^2}\\log \\frac{1}{{\\epsilon }}\\Big )\\)</span> and was adaptive. We also prove that every nonadaptive, 1-sided error tester for connectedness must make <span>\\(\\Omega \\Big (\\frac{1}{{\\epsilon }}\\log \\frac{1}{{\\epsilon }}\\Big )\\)</span> queries.</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"86 11","pages":"3496 - 3517"},"PeriodicalIF":0.9000,"publicationDate":"2024-09-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Algorithmica","FirstCategoryId":"94","ListUrlMain":"https://link.springer.com/article/10.1007/s00453-024-01248-x","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0
Abstract
We investigate algorithms for testing whether an image is connected. Given a proximity parameter \({\epsilon }\in (0,1)\) and query access to a black-and-white image represented by an \(n\times n\) matrix of Boolean pixel values, a (1-sided error) connectedness tester accepts if the image is connected and rejects with probability at least 2/3 if the image is \({\epsilon }\)-far from connected. We show that connectedness can be tested nonadaptively with \(O\Big (\frac{1}{{\epsilon }^2}\Big )\) queries and adaptively with \(O\Big (\frac{1}{{\epsilon }^{3/2}} \sqrt{\log \frac{1}{{\epsilon }}}\Big )\) queries. The best connectedness tester to date, by Berman, Raskhodnikova, and Yaroslavtsev (STOC 2014) had query complexity \(O\Big (\frac{1}{{\epsilon }^2}\log \frac{1}{{\epsilon }}\Big )\) and was adaptive. We also prove that every nonadaptive, 1-sided error tester for connectedness must make \(\Omega \Big (\frac{1}{{\epsilon }}\log \frac{1}{{\epsilon }}\Big )\) queries.
期刊介绍:
Algorithmica is an international journal which publishes theoretical papers on algorithms that address problems arising in practical areas, and experimental papers of general appeal for practical importance or techniques. The development of algorithms is an integral part of computer science. The increasing complexity and scope of computer applications makes the design of efficient algorithms essential.
Algorithmica covers algorithms in applied areas such as: VLSI, distributed computing, parallel processing, automated design, robotics, graphics, data base design, software tools, as well as algorithms in fundamental areas such as sorting, searching, data structures, computational geometry, and linear programming.
In addition, the journal features two special sections: Application Experience, presenting findings obtained from applications of theoretical results to practical situations, and Problems, offering short papers presenting problems on selected topics of computer science.