in reply to Pairing Riddle (OT)
But I enjoyed it from a mathematical perspective, since it's a a problem which can be perfectly described in graph theoretic terms: a directed graph with a "child of" relation with certain restrictions:
Here the solution in short, but hidden behind a spoiler tag to protect those interested.
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
°) apparently do most so called "purebred" dogs have an inbreeding factor of 25%. That's like the outcome of incest. One more reason why I'd always opt for a mongrel.
¹) in some western countries this is technically legal, because the laws don't cover that case.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Pairing Riddle (OT)
by Ratazong (Monsignor) on Apr 27, 2026 at 07:49 UTC | |
by LanX (Saint) on Apr 27, 2026 at 10:08 UTC |