多数和多数问题
Majority and Plurality Problems
摘要:
给定一组n个球,每个球都用一种颜色着色,如果一个球的颜色类别的大小大于球的数量的一半,大小至少为k,大小大于任何其他颜色类别,则该球分别被称为多数,k多数,复数。我们解决的问题,找到最小数量的查询(一对球的比较,如果他们有相同的颜色或不),这是需要决定是否存在多数,k-多数或多个球,如果是这样,然后显示一个这样的球。我们考虑自适应和非自适应策略,在某些情况下,我们还解决加权版本的问题。
英文摘要:
Given a set of n balls each colored with a color, a ball is said to be majority, k-majority, plurality if its color class has size larger than half of the number of balls, has size at least k, has size larger than any other color class; respectively. We address the problem of finding the minimum number of queries (a comparison of a pair of balls if they have the same color or not) that is needed to decide whether a majority, k-majority or plurality ball exists and if so then show one such ball. We consider both adaptive and non-adaptive strategies and in certain cases, we also address weighted versions of the problems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。