Re: That is not the algorithm I proposed
From: Douglas A. Gwyn (DAGwyn_at_null.net)
Date: 11/24/04
- Next message: Douglas A. Gwyn: "Re: Swapping is inefficient and wasteful"
- Previous message: Ernst Lippe: "Re: Swapping is inefficient and wasteful"
- In reply to: Paul Tomkins: "Re: That is not the algorithm I proposed"
- Next in thread: Bob Harris: "Re: That is not the algorithm I proposed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 24 Nov 2004 06:57:41 -0500
Paul Tomkins wrote:
> dest[i]=source[C[i]];
Sorry, that just puts the issue of shuffling onto
the shoulders of whatever constructs the contents
of the array C. It is utterly uninteresting how
"cards" are moved around once the shuffling order
has been determined; a card can be entirely
represented by its index number, so the array C
itself already represents a shuffled deck of
cards. The important question is how to perform
a fair shuffle in the first place. In my
previous posting I assumed that context.
- Next message: Douglas A. Gwyn: "Re: Swapping is inefficient and wasteful"
- Previous message: Ernst Lippe: "Re: Swapping is inefficient and wasteful"
- In reply to: Paul Tomkins: "Re: That is not the algorithm I proposed"
- Next in thread: Bob Harris: "Re: That is not the algorithm I proposed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|