Talk:770: All the Girls
The reasons why this algorithm wouldn't work so well in producing stable marriages are
- the people preferences may change (especially if they know someone better)
- people may prefer not having marriage at all (when rejected by some of their choices)
Still, it's not like there is better algorithm. -- Hkmaly (talk) 10:02, 17 April 2013 (UTC)
sub BetterThanNothing { my (@everyone,@m,@f,@o,@r,@Ps) = @_; while (my $person = shift @everyone) { push(@m, $person)&&next if _isMale($person); push(@f, $person)&&next if _isFemale($person); push @o, $person } my $priority =(@m>=@f)?[\@f,\@m]:[\@m,\@f]; while (@{$priority[0]}) { push @Ps, [splice(@{$priority[0]},rnd(@{$priority[0]}),1), splice(@{$priority[1]},rnd(@{$priority[1]}),1)] } } @r = (@m,@f,@o); while (@r>1) { push @Ps, [splice(@r,rnd(@r),1), splice(@r,rnd(@r),1)] } } @r && push @Ps, [(shift @r) x 2]; return @Ps } # Totally untested Perl for when you /really/ don't care too much... ;) 31.110.88.49 04:34, 4 May 2013 (UTC)
When I read 'I love you out of all the girls who love me back,' I thought that he meant...
- Rob: 'I courted a lot of females because I was looking for the best life partner, since marriage is a serious thing. You are the perfect future life partner.'
- Megan: '...but what about all those girls who do not love you?'
- Rob: 'Frankly, my dear, I couldn't care less. They do not love me. Why bother violating their wishes for my own?' Greyson (talk) 14:44, 28 June 2013 (UTC)
You know, when I read the comic, I thought he meant the "girls" who were related to him (e.g. is mother, his grandma(s), his niece(s),etc.)
I'm not sure the explanation needs profanity such as "shitty". Sure, XKCD can often be very vulgar and profane, but I think that if the comic doesn't involve such a topic, it doesn't require that. I am still having second thoughts about editing, though (as "shitty" is actually a perfect way to describe something that is terrible). SilverTheTerribleMathematician (talk) 22:24, 8 December 2022 (UTC)
- You’re right. I made an attempt to use less attention-seeking adjectives. I don’t know. —While False (museum | talk | contributions | logs | rights | printable version | page information | what links there | related changes | Google search | current time: 09:41) 22:30, 8 December 2022 (UTC)