ACM Home Page
Please provide us with feedback. Feedback
Average-case analysis of some plurality algorithms
Full text PdfPdf (1.38 MB)
Source
ACM Transactions on Algorithms (TALG) archive
Volume 5 ,  Issue 2  (March 2009) table of contents
Article No. 17  
Year of Publication: 2009
ISSN:1549-6325
Authors
Laurent Alonso  INRIA-Lorraine, Vandoeuvre-lès-Nancy, France
Edward M. Reingold  Illinois Institute of Technology, Chicago, IL
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 14,   Downloads (12 Months): 126,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1497290.1497293
What is a DOI?

ABSTRACT

Given a set of n elements, each of which is colored one of c colors, we must determine an element of the plurality (most frequently occurring) color by pairwise equal/unequal color comparisons of elements. We focus on the expected number of color comparisons when the cn colorings are equally probable. We analyze an obvious algorithm, showing that its expected performance is c2 + c − 2/2c nO(c2), with variance Θ(c2n). We present and analyze an algorithm for the case c = 3 colors whose average complexity on the 3n equally probable inputs is 7083/5425n + O(&sqrt;n) = 1.3056…n + O(&sqrt; n), substantially better than the expected complexity 5/3n + O(1) = 1.6666…n + O(1) of the obvious algorithm. We describe a similar algorithm for c =4 colors whose average complexity on the 4n equally probable inputs is 761311/402850n + O(log n) = 1.8898…n + O(log n), substantially better than the expected complexity 9/4n + O(1) = 2.25n + O(1) of the obvious algorithm.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
3
4
 
5
 
6
 
7
 
8
 
9
Hillman, A. P. 1975. The William Lowell Putnam mathematical competition. Amer. Math. Monthly 82, 9 (Nov.), 905--912.
 
10
 
11
 
12
 
13
 
14

Collaborative Colleagues:
Laurent Alonso: colleagues
Edward M. Reingold: colleagues