in reply to
Re^3: Generating all 5-card hands
in thread Generating all 5-card hands
My point is that for the purposes of this exercise, the suit doesn't matter. So, at some point, you'll end up choosing an equivalent hand to one that has already been done. For each combination of ranks, there are a fair number of equivalent hands that differ only in the suits of the individual cards. For this exercise, those hands are equivalent, so there's no point in scoring the second hand if the first hand has already been dealt with. Perhaps I mis-spoke before.
Feel the white light, the light within
Be your own disciple, fan the sparks of will
For all of us waiting, your kingdom will come