home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.theory:2838 sci.crypt:6559 sci.math:17868 rec.puzzles:8296
- Newsgroups: comp.theory,sci.crypt,sci.math,rec.puzzles
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!wupost!gumby!destroyer!cs.ubc.ca!uw-beaver!newsfeed.rice.edu!rice!news.rice.edu!dougm
- From: dougm@titan.cs.rice.edu (Doug Moore)
- Subject: Re: Looking for random permutation generation algorithms
- In-Reply-To: karr@cs.cornell.edu's message of Fri, 8 Jan 1993 17:28:24 GMT
- Message-ID: <DOUGM.93Jan8161707@titan.cs.rice.edu>
- Sender: news@rice.edu (News)
- Organization: Rice University Computer Science, Houston, Texas
- References: <1993Jan7.165939.11149@cs.cornell.edu> <2607@usna.NAVY.MIL>
- <1993Jan8.163909.20820@cs.cornell.edu>
- <1993Jan8.172824.22910@cs.cornell.edu>
- Date: Fri, 8 Jan 1993 22:17:07 GMT
- Lines: 14
-
- Now that the problem of computing a 1-1 mapping from the integers 0 <=
- i < n! to permuatations of n elements has been solved, can anyone
- suggest a way to compute a function f(i,j), 0 <= i < n!, 0 <= j < n,
- such that f(i,j) is the jth component of the ith permutation IN
- CONSTANT SPACE? Personally, I can't. Maybe it's impossible.
-
- An application? Suppose you wanted to implement a truly uniform
- open-addressed hashing scheme. The algorithms proposed so far will
- generate a permutation (probe sequence) from a key, but require linear
- additional space to do it. That would not be acceptible for a large
- hash table. Any ideas?
-
- Doug Moore
- (dougm@cs.rice.edu)
-