|
Generate a new Strings with a strings ordering determined by the Permutation.
The number of strings in the Strings and the number of elements in the Permutation have to be equal.
1. If the selected Strings has the 4 strings ordered as "heed", "hid", "hood", "hud", and the permutation is (4,3,2,1), the new Strings has the ordering "hud", "hood", "hid", "heed".
2. In the example that is discussed in the listening experiment section, we have four stimuli "heed.wav", "hid.wav", "hood.wav", "hud.wav" that we want to present three times to each subject with a <PermuteBalancedNoDoublets> randomization strategy, i.e. stimuli presented in blocks of four, randomized, and no two successive stimuli equal. This type of randomization can easily be accomplished with a Permutation object and a Strings.
© djmw 20140130