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