Re: [Algorithms] Generating the ith permutation of N elements
Brought to you by:
vexxed72
From: <chr...@pl...> - 2010-06-01 21:25:54
|
Yannick Letourneau wrote: > I’m looking for a way to generate the ith permutation of N elements, > at approximately O(N) cost. [...] http://stackoverflow.com/questions/1506078/fast-permutation-number-permutation-mapping-algorithms Christer Ericson, Director of Tools and Technology Sony Computer Entertainment, Santa Monica http://realtimecollisiondetection.net/blog/ |