public static class AllCandidateSampler.Options extends Object
AllCandidateSampler
Modifier and Type | Method and Description |
---|---|
AllCandidateSampler.Options |
seed(Long seed) |
AllCandidateSampler.Options |
seed2(Long seed2) |
public AllCandidateSampler.Options seed(Long seed)
seed
- If either seed or seed2 are set to be non-zero, the random number
generator is seeded by the given seed. Otherwise, it is seeded by a
random seed.public AllCandidateSampler.Options seed2(Long seed2)
seed2
- An second seed to avoid seed collision.Copyright © 2022. All rights reserved.