[R] Permutations
Ingmar Visser
i.visser at uva.nl
Thu Jul 15 15:09:06 CEST 2004
On 7/14/04 7:42 PM, "Jordi Altirriba Gutiérrez" <altirriba at hotmail.com>
wrote:
> 4 5 6 | 2 1 3 | 7 8 9 | 10 11 12 NO ----because it's an "intra-block"
> permutation of permutation 3
> - -
> 10 1 7 | 4 8 7 | 5 6 12 | 3 2 9 YES---Xth permutation
>
> 1 10 7 | 4 8 7 | 5 6 12 | 3 2 9 NO ----because it's an
> "intra-block"permutation of permutation X
> - -
>
> So, what is a "not correct" permutation is an "intra-block" permutation of a
> permutation created before.
>
> Again, thanks for your time and suggestions,
Hi Jordi,
If it is allowed to combine permutations then allowing inter block
permutations will generate all possible permutations:
eg
1 2 3 | 4 5 6
1 4 3 | 2 5 6
2 4 3 | 1 5 6
2 1 3 | 4 5 6
According to your inter- and intra-block permissions, this sequence is
allowed but the result is not ...
best, ingmar
More information about the R-help
mailing list