The latest version of majority is 1.1-0.

majority

Version 1.0 revision 0 uploaded by NisWegmann.

Package meta

Synopsis
Boyer-Moore Majority Vote Algorithm
Description

The Boyer-Moore Majority Vote Algorithm determines if there in a list of votes is a candidate that holds more than half of the majority, and if so, finds this candidate. It does so in time linear in the length of the input list and constant memory. For a detailed description of the algorithm, see these papers:

  • Wim H. Hesselink, "The Boyer-Moore Majority Vote Algorithm", 2005;

  • Robert S. Boyer and J. Strother Moore, "MJRTY - A Fast Majority Vote Algorithm", 1982.

Author
Nis N. Wegmann
Bug reports
n/a
Category
Algorithms
Copyright
n/a
Homepage
https://github.com/niswegmann/majority
Maintainer
niswegmann@gmail.com
Package URL
n/a
Stability
provisional

Components