Take the 2-minute tour ×
MathOverflow is a question and answer site for professional mathematicians. It's 100% free, no registration required.

I just recently learned the Ham Sandwich Theorem in my algebraic topology class. If we take the measure to be the counting measure and let $n=2$, then the theorem tells us that given a set of black and white points in the plane, we can draw a line that'll divide the plane so that there is an equal number of black and white points on either side of the line. But this theorem is existential only. Is there an algorithm for actually computing the line for this discrete case? If so, what's the complexity?

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

The paper by Lo, Matoušek, and Steiger entitled "Algorithms for Ham-Sandwich Cuts" gives an $O(n)$ algorithm, where $n$ is the number of points. That's the best you can do, since you need to consider all such points.

share|improve this answer
4  
No, the paper gives a linear-time algorithm only in dimension 2. –  Boris Bukh Nov 16 '10 at 6:22
3  
The 1994 paper is available here dominik.eigendynamik.ch/ethz/focus_ti/cgsem/… and as Boris Bukh points out only gives linear for $d=2$. In fact a linear time algorithm in $d=2$ was given by Lo and Steigler in 1990 (ref. 17 in this paper). For higher $d$, their algorithms are $O(n^{d-1-a(d)})$ with $a(d)$ tending to zero. –  j.c. Nov 16 '10 at 6:39
    
Not related to the original question, but there is a brand-spanking-new paper which proves that no $O(n^{o(d)})$-time algorithm exists, unless NP has subexponential-time algorithms. –  Dave Pritchard Nov 17 '10 at 19:09
1  
D'oh the paper is <a href="page.mi.fu-berlin.de/dawerner/publications/…;, called "On the computational complexity of Ham-Sandwich cuts, Helly sets, and related problems" –  Dave Pritchard Nov 17 '10 at 19:09
    
I think there is a possible connection here with the Butty numbers for the de-Ham cohomology group, also known as De-Ham Butty numbers. –  Kevin Smith Mar 31 '12 at 14:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.