Interface DiscreteGenerator

All Superinterfaces:
Seedable
All Known Implementing Classes:
Bernoulli, Binomial, Geometric, Pascal, Poisson, SeedGenerator

public interface DiscreteGenerator extends Seedable
A continuous generator provides a long value according to the distribution it relies on.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     

    Methods inherited from interface Seedable

    getSeed, reseed, setSeed
    Modifier and Type
    Method
    Description
    long
    Get the random number generator's seed.
    void
    Get another seed well-spaced (from the default SeedGenerator)
    void
    setSeed(long seed)
    Set the random number generator's seed.
  • Method Details

    • sample

      long sample()