public class JDKRandomGeneratorFactory extends AbstractGeneratorFactory<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() |
getRandomGenerables
public 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 AbstractGeneratorFactory<org.apache.commons.math3.random.JDKRandomGenerator>
protected org.apache.flink.graph.generator.random.JDKRandomGeneratorFactory.JDKRandomGenerable next()
next
in class AbstractGeneratorFactory<org.apache.commons.math3.random.JDKRandomGenerator>
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.