saealib.space.PermutationSpace#
- class saealib.space.PermutationSpace(length)[ソース]#
ベースクラス:
objectA search space whose genomes are permutations of
range(length).- パラメータ:
length (int)
Methods
Draw |
|
Validate the batch type and each permutation row. |
Method Details
- PermutationSpace.sample(n, rng=None)[ソース]#
Draw
nuniformly shuffled permutations.- パラメータ:
n (int)
rng (Generator | None)
- 戻り値の型:
PermutationBatch