home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.programming:2611 comp.theory:1924
- Newsgroups: comp.programming,comp.theory
- Path: sparky!uunet!s5!sethb
- From: sethb@fid.morgan.com (Seth Breidbart)
- Subject: Re: Proving fair shuffles (was: FULL HOUSE)
- Message-ID: <1992Sep15.160009.6091@fid.morgan.com>
- Organization: Morgan Stanley & Co., New York, NY
- References: <schnitzi.716563018@eola.cs.ucf.edu>
- Date: Tue, 15 Sep 1992 16:00:09 GMT
- Lines: 19
-
- In article <schnitzi.716563018@eola.cs.ucf.edu> schnitzi@cs.ucf.edu
- (Mark Schnitzius) writes:
- >I've been wondering...
- >
- >Assuming you have a true random number generator, is there
- >a way to _prove_ that a particular algorithm performs an
- >honest shuuffle (i.e. each card has equal possibility of
- >being in each place)? Are there any order(n) shuffling
- >routines?
-
- An honest shuffle gives each permutation an equal probability, not
- just each card/position pair. For instance, a fair _cut_ gives each
- card a 1/52 chance of being in each position.
-
- There are shuffles, some O(n), that can easily be proven to be fair.
- In general, it is not possible to tell whether a function computes a
- fair shuffle.
-
- Seth sethb@fid.morgan.com
-