List of usage examples for org.apache.commons.math3.random RandomGenerator interface-usage
From source file msi.gama.util.random.GamaRNG.java
/**
* Class GamaRNG.
*
* @author drogoul
* @since 4 juin 2015
*
From source file io.yields.math.framework.data.RandomDoubleGenerator.java
/** * Random generator for doubles. */ public class RandomDoubleGenerator implements RandomGenerator<Double> { private final RandomSequence<Double> random;
From source file com.github.rinde.rinsim.core.model.rand.UnmodifiableRandomGenerator.java
/** * @author Rinde van Lon */ class UnmodifiableRandomGenerator implements RandomGenerator { private final RandomGenerator delegateRng;
From source file io.yields.math.framework.data.RandomIntGenerator.java
/** * Random generator for integers. */ public class RandomIntGenerator implements RandomGenerator<Integer> { private final RandomSequence<Integer> random;
From source file org.asoem.greyfish.utils.math.ForwardingRandomGenerator.java
/** * A decorator for an RandomGenerator. */ public abstract class ForwardingRandomGenerator implements RandomGenerator { protected abstract RandomGenerator delegate();
From source file io.yields.math.framework.data.DiscreteRandomGenerator.java
/** * generates samples randomly chosen from a set. */ public class DiscreteRandomGenerator<T> implements RandomGenerator<T> { private RandomGenerator<Integer> indexGenerator;
From source file org.apache.cassandra.stress.generate.FasterRandom.java
public class FasterRandom implements RandomGenerator { final Random random = new Random(); private long seed; private int reseed;
From source file org.caffinitas.ohc.benchmark.distribution.FasterRandom.java
public class FasterRandom implements RandomGenerator { final Random random = new Random(); private long seed; private int reseed;
From source file org.nd4j.linalg.api.rng.DefaultRandom.java
/**
* Apache commons based random number generation
*
* Please note: this implementation can't be used for NativeOps execution
*
* @author Adam Gibson