Rendered at 14:28:26 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
SamBam 4 days ago [-]
> A Hamiltonian cycle is a way to seat everyone at a round table so that each guest sits between two friends.
My mother, from a very WASPy family, would have hated a Hamiltonian cycle dinner party. She always sat couples and close friends apart, in order to stimulate the conversation. Now that I'm the adult, I don't dictate who sits where, but there is a small, judgy part of me that still cringes a little if a couple insists on sitting together.
I wonder if there's a similar theorem for an anti-Hamiltonian cycle. One where as few close connections as possible sit together.
Actually, as a middle school teacher who is always tweaking the seating plan to try and improve classroom management, that's not far from what I already do. (Must be shades of my mother in me.)
emil-lp 3 days ago [-]
> One where as few close connections as possible sit together.
Well, unfortunately there is a boring answer.
Let's call a graph co-hamiltonian if its complement is Hamiltonian. That is, the graph in which all edges become non-edges and vice versa.
It's the same as interpreting edges as non-friends.
---
A slightly more interesting is if you try to divide into tables such that on tables only friends (or in your case non-friends) are seated. This is exactly the chromatic number of a graph (graph coloring).
jonahx 4 days ago [-]
> She always sat couples and close friends apart, in order to stimulate the conversation. Now that I'm the adult, I don't dictate who sits where, but there is a small, judgy part of me that still cringes a little if a couple insists on sitting together.
A large, judgy part of me cringes at the presumption of socially engineering adults into a situation they dislike "for their own good".
IncreasePosts 3 days ago [-]
You seat people certain places for the overall benefit of the party, not for anyone's "own good" (except to the extent that a fun party is beneficial to an attendee)
jonahx 2 days ago [-]
Oh I get the theory. I just find the whole notion obnoxious.
The OP said it himself... you're acting as a schoolteacher towards your friends. Adult friends.
NooneAtAll5 4 days ago [-]
just say that guest nodes are connected if they are NOT friends
done
jonahx 4 days ago [-]
This is really nicely done.
The visualizations make the "flip" part of the argument immediately clear.
For the potato part, for me, an abstract verbal argument is clearer:
For any gap (u,v), mark all v neighbors, and all clockwise successors of all u neighbors.
n marks are now distributed among n-1 vertices (since v can't be marked). By pigeonhole, some vertex has 2 marks.
NooneAtAll5 4 days ago [-]
I want to say I'm impressed by this blog for making interactive transitions (including 3D ones) without WebGL
pepy07 4 days ago [-]
This is a really clever way of demonstrating Dirac's theorem.
My mother, from a very WASPy family, would have hated a Hamiltonian cycle dinner party. She always sat couples and close friends apart, in order to stimulate the conversation. Now that I'm the adult, I don't dictate who sits where, but there is a small, judgy part of me that still cringes a little if a couple insists on sitting together.
I wonder if there's a similar theorem for an anti-Hamiltonian cycle. One where as few close connections as possible sit together.
Actually, as a middle school teacher who is always tweaking the seating plan to try and improve classroom management, that's not far from what I already do. (Must be shades of my mother in me.)
Well, unfortunately there is a boring answer.
Let's call a graph co-hamiltonian if its complement is Hamiltonian. That is, the graph in which all edges become non-edges and vice versa.
It's the same as interpreting edges as non-friends.
---
A slightly more interesting is if you try to divide into tables such that on tables only friends (or in your case non-friends) are seated. This is exactly the chromatic number of a graph (graph coloring).
A large, judgy part of me cringes at the presumption of socially engineering adults into a situation they dislike "for their own good".
The OP said it himself... you're acting as a schoolteacher towards your friends. Adult friends.
done
The visualizations make the "flip" part of the argument immediately clear.
For the potato part, for me, an abstract verbal argument is clearer:
For any gap (u,v), mark all v neighbors, and all clockwise successors of all u neighbors.
n marks are now distributed among n-1 vertices (since v can't be marked). By pigeonhole, some vertex has 2 marks.