On computing majority by comparisons (Q1181015)

From MaRDI portal
scientific article
Language Label Description Also known as
English
On computing majority by comparisons
scientific article

    Statements

    On computing majority by comparisons (English)
    0 references
    0 references
    0 references
    27 June 1992
    0 references
    The authors investigate the problem of finding an element in the larger part of a partition of an \(n\)-element set into two classes based on comparison, i.e. for any two elements there is a decision whether or not they belong to the same part. They give an algorithm, which finds such an element with at most \(n-B(n)\) comparisons, where \(B(n)\) is the number of 1's in the binary expansion of \(n\), and they show that this algorithm is optimal.
    0 references
    partition
    0 references

    Identifiers

    0 references
    0 references
    0 references
    0 references
    0 references