public class JDKRandomGeneratorFactory extends GeneratorFactoryBase<org.apache.commons.math3.random.JDKRandomGenerator>
JDKRandomGenerator to generate seeds for the
distributed collection of JDKRandomGenerator.| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_SEED |
static int |
MINIMUM_CYCLES_PER_BLOCK |
MAXIMUM_BLOCK_COUNT| Constructor and Description |
|---|
JDKRandomGeneratorFactory() |
JDKRandomGeneratorFactory(long seed) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getMinimumCyclesPerBlock() |
protected org.apache.flink.graph.generator.random.JDKRandomGeneratorFactory.JDKRandomGenerable |
next() |
getRandomGenerablespublic static final long DEFAULT_SEED
public static final int MINIMUM_CYCLES_PER_BLOCK
public JDKRandomGeneratorFactory()
public JDKRandomGeneratorFactory(long seed)
protected int getMinimumCyclesPerBlock()
getMinimumCyclesPerBlock in class GeneratorFactoryBase<org.apache.commons.math3.random.JDKRandomGenerator>protected org.apache.flink.graph.generator.random.JDKRandomGeneratorFactory.JDKRandomGenerable next()
next in class GeneratorFactoryBase<org.apache.commons.math3.random.JDKRandomGenerator>Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.