Re: seeking help with an algorithm
- From: Dan Neely <DanNeely@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 25 Jul 2005 09:47:05 -0700
"Bruno Jouhier [MVP]" wrote:
> Just add a random positive number at every step, and encode in base 36 (10 +
> 26). Something like:
>
> i += Math.Abs(Random.NextInt() % MaxIncrement)
> str = Encode36(i);
I don't think this will satisfy the uniqueness constraint the original
poster wanted though.
.
- References:
- seeking help with an algorithm
- From: jason
- Re: seeking help with an algorithm
- From: Bruno Jouhier [MVP]
- seeking help with an algorithm
- Prev by Date: Re: Conversion of Business Objects to Flat Data Table and Viceversa
- Next by Date: Re: How can I pass a multidimensional array as a ref parameter in func
- Previous by thread: Re: seeking help with an algorithm
- Next by thread: Re: seeking help with an algorithm
- Index(es):
Relevant Pages
|