Permutations Generator, Cool Tool
June 16th 2009 04:19 pm
I discovered a webpage that will generate permutations:
http://users.telenet.be/vdmoortel/dirk/Maths/permutations.html
So in other words, if you type in:
red,blue,green (Note: make sure you type commas between your words or else it will try to use all the individual letters in its permutations)
it will generate:
red,blue,green
red,green,blue
blue,red,green
blue,green,red
green,red,blue
green,blue,red
So now, you’re asking, ‘Why in the world would anyone want to do that?’
I’m going to use it in conjunction with AMAutomation when I spin my articles.
So for example, suppose I have this original sentence:
There are three builds for a Paladin: Holy, Protection, Retribution.
It would make sense to spin it so that those three items are listed in all possible ways. So I use the handy-dandy permutation generator and I type in:
Holy,Protection,Retribution
It gives me back all the combinations:
Holy,Protection,Retribution
Holy,Retribution,Protection
Protection,Holy,Retribution
Protection,Retribution,Holy
Retribution,Holy,Protection
Retribution,Protection,Holy
I still have little tweaking to do since this tool ignores spaces.
There are three builds for a Paladin: {Holy, Protection, Retribution ~Holy, Retribution, Protection ~Protection, Holy, Retribution ~Protection, Retribution, Holy ~Retribution, Holy, Protection ~Retribution, Protection, Holy}.
Cool, huh?
http://users.telenet.be/vdmoortel/dirk/Maths/permutations.html
So in other words, if you type in:
red,blue,green (Note: make sure you type commas between your words or else it will try to use all the individual letters in its permutations)
it will generate:
red,blue,green
red,green,blue
blue,red,green
blue,green,red
green,red,blue
green,blue,red
So now, you’re asking, ‘Why in the world would anyone want to do that?’
I’m going to use it in conjunction with AMAutomation when I spin my articles.
So for example, suppose I have this original sentence:
There are three builds for a Paladin: Holy, Protection, Retribution.
It would make sense to spin it so that those three items are listed in all possible ways. So I use the handy-dandy permutation generator and I type in:
Holy,Protection,Retribution
It gives me back all the combinations:
Holy,Protection,Retribution
Holy,Retribution,Protection
Protection,Holy,Retribution
Protection,Retribution,Holy
Retribution,Holy,Protection
Retribution,Protection,Holy
I still have little tweaking to do since this tool ignores spaces.
- Replace all the commas with comma space
- Surround it with curly brackets
- Replace the paragraph with tilde paragraph
- If I really wanted to be grammatically correct, I would add ‘and’ before the last item, but I can’t figure out how to easily do this in a word macro
There are three builds for a Paladin: {Holy, Protection, Retribution ~Holy, Retribution, Protection ~Protection, Holy, Retribution ~Protection, Retribution, Holy ~Retribution, Holy, Protection ~Retribution, Protection, Holy}.
Cool, huh?