Timeline for How do I iterate through all permutations of a list? [closed]
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 10, 2018 at 21:56 | comment | added | Mr.Wizard | @orome Old does not mean invalid, and you have not made a case for them being "outdated." Further (1283) continues to receive new answers, the last being only from last year. Again, if you want your question separate and open you need to make a case how your question in fundamentally different, and how none of those answers apply to it. | |
Aug 10, 2018 at 21:45 | comment | added | orome | @Mr.Wizard The answers are old, as the question states. | |
Aug 10, 2018 at 18:00 | history | closed | Mr.Wizard | Needs details or clarity | |
Aug 10, 2018 at 18:00 | comment | added | Mr.Wizard | You assert that "none are duplicates" yet you do not reference any of them and explain how your question is actually different. You need to do that if this is to be a separate question. Putting on hold until you clarify. | |
Aug 10, 2018 at 17:05 | comment | added | halirutan | Yes, I have and you wrote "I need to generate..." which doesn't sound like a hypothetical scenario to me. So no, I did not understand that this is a question about whether it is theoretically possible. On this site, we provide "... answers to practical, detailed questions" and I'm not sure what else to say what @Bill hasn't already said. | |
Aug 10, 2018 at 16:49 | comment | added | orome | @halirutan Have you at least skimmed through my question here? I was more about asking whether it could be done, than whether it should be. | |
Aug 10, 2018 at 16:35 | comment | added | halirutan | @orome Have you at least skimmed through my answer there? I was more pointing to the fact that the OP there tried to calculate 14! permutations and I made a rough estimate of the time he needs: "1000 days until you are done. Almost 3 years." | |
Aug 10, 2018 at 16:33 | comment | added | Bill | I still happily use `Combinatorica despite people's criticism. Look in AddOns\Packages\Combinatorica\Combinatorica.m and search for NextPermutation. The source code is all there, the algorithm is only six lines, it depends on nothing else and you can quickly test it against example lists to try to convince yourself whether it works or not. | |
Aug 10, 2018 at 16:26 | comment | added | jkuczm |
Does your list have a lot of duplicates? Iterating through 60! permutations does not sound very realistic.
|
|
Aug 10, 2018 at 16:06 | comment | added | orome | @halirutan That's from 2014 and uses `Combinatorica``. Does that still work? In my experience each new version of MMA completely breaks fundamental things in the previous one. | |
Aug 10, 2018 at 16:04 | comment | added | halirutan | Can you have a look at this one and see if it is of help? mathematica.stackexchange.com/a/46125/187 | |
Aug 10, 2018 at 15:56 | history | asked | orome | CC BY-SA 4.0 |