Beat Cornaz wrote:

> I have some hundred fitness functions, which need to be recalculated
> many times. But I think the problem of making Permutations might be
> illuminating for me, as this one takes quite long to run (with 10 or
> more elements to Permutate).
>
> So a good example would be how to make all possible  permutations of
> say 10 different elements (0-9). This gives 3628800 different
> permutations.

How will these permutations be used?

More specifically, unless they all need to be acted on at once, would it be useful to consider a function that only generates one or a series as needed, keeping track of where it left off so it can generate the next batch next time it's called?

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to