public static class UniformCandidateSampler.Options extends Object
UniformCandidateSampler| Modifier and Type | Method and Description |
|---|---|
UniformCandidateSampler.Options |
seed(Long seed) |
UniformCandidateSampler.Options |
seed2(Long seed2) |
public UniformCandidateSampler.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 UniformCandidateSampler.Options seed2(Long seed2)
seed2 - An second seed to avoid seed collision.Copyright © 2015–2019. All rights reserved.