If I wanted to do this, I would look up combinatorics on Google. There
are a 
lot of sites that have javascripts that do exactly this.   It depends on
how many items you have as to the processing power it would take to
compute these.


Matthew Small
IT Supervisor
Showstopper National Dance Competitions
3660 Old Kings Hwy 
Murrells Inlet, SC 29576
843-357-1847
http://www.showstopperonline.com

-----Original Message-----
From: webguy [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 18, 2002 12:15 PM
To: CF-Talk
Subject: RE: Random Iterations

That requires a pretty intense algorithm, you going to be doing this
often?
I'd recommend doing this in C or Java... What platform?

If it's the same 15 numbers just do it once !

WG

> -----Original Message-----
> From: Dobris, Eric [mailto:[EMAIL PROTECTED]]
> Sent: 18 December 2002 16:45
> To: CF-Talk
> Subject: Random Iterations
> 
> 
> Hi Everyone,
> 
> I have a problem I can't figure out and I am hoping someone on 
> the list can
> help me figure out how to do it.
> 
> I need to generate iteration tables.
> 
> For Example:
> 
> For a 3 digit iteration:
> 
> All The possible combinations for these 3 digits; 1 2 3
> 
> I would end up with:
> 
>       1       1,2,3
>       2       1,3,2
>       3       2,1,3
>       4       3,2,1
>       5       2,3,1
>       6       3,1,2
> 
> 
> 
> I need to auto generate tables with up to 15 digits.
> 
> Can anyone figure out the code to do this?
> 
> Any help would be appreciated. 
> 
> Thanks,
> 
> Eric Dobris
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to