import pyLHD
pyLHD.alpha_allowable_perms(alpha = 2, s = 4)[(0, 1, 2, 3),
(0, 1, 3, 2),
(1, 0, 2, 3),
(1, 0, 3, 2),
(2, 3, 0, 1),
(2, 3, 1, 0),
(3, 2, 0, 1),
(3, 2, 1, 0)]
helpers.alpha_allowable_perms(alpha, s)
Generate alpha-allowable permutations
| Name | Type | Description | Default |
|---|---|---|---|
alpha |
int | A positive integer | required |
s |
int | A positive integer specifying the number of levels from (0, 1,…,s-1) | required |
| Type | Description |
|---|---|
| typing.List[int] | List[int]: Alpha allowable permutations |
Examples: