----- Original Message ----- From: "Pit Capitain" <pit / capitain.de> To: "ruby-talk ML" <ruby-talk / ruby-lang.org> Sent: Monday, April 21, 2003 1:57 PM Subject: Re: Biased weighted random? > On 21 Apr 2003 at 22:57, Chris Pine wrote: > > > Interesting, but it is a different problem: we weren't looking for a > > shuffle (at least, I didn't think we were; perhaps I'm wrong!), we wanted an > > arbitrarily long sequence. > > Ah, I see. This is indeed a harder problem. Thanks for the > clarification. Well, I guess the problems are related. I see a shuffle as being a sequence of a specific (as opposed to an arbitrary) length. Unless I'm missing something. Hal