Uses of Interface
org.apache.commons.rng.sampling.distribution.SharedStateContinuousSampler
Packages that use SharedStateContinuousSampler
Package
Description
This package provides sampling utilities.
This package contains classes for sampling from statistical distributions.
-
Uses of SharedStateContinuousSampler in org.apache.commons.rng.sampling
Classes in org.apache.commons.rng.sampling that implement SharedStateContinuousSamplerModifier and TypeClassDescriptionprivate static final classA composite continuous sampler with shared state support.Subclasses with type arguments of type SharedStateContinuousSampler in org.apache.commons.rng.samplingModifier and TypeClassDescriptionprivate static final classA composite continuous sampler with shared state support.Classes in org.apache.commons.rng.sampling that implement interfaces with type arguments of type SharedStateContinuousSamplerModifier and TypeClassDescriptionprivate static final classA factory for creating a composite SharedStateContinuousSampler.Methods in org.apache.commons.rng.sampling that return SharedStateContinuousSamplerModifier and TypeMethodDescriptionCompositeSamplers.SharedStateContinuousSamplerFactory.createSampler(DiscreteSampler discreteSampler, List<SharedStateContinuousSampler> samplers) Methods in org.apache.commons.rng.sampling that return types with arguments of type SharedStateContinuousSamplerModifier and TypeMethodDescriptionCompositeSamplers.newSharedStateContinuousSamplerBuilder()Create a new builder for a compositeSharedStateContinuousSampler.Method parameters in org.apache.commons.rng.sampling with type arguments of type SharedStateContinuousSamplerModifier and TypeMethodDescriptionCompositeSamplers.SharedStateContinuousSamplerFactory.createSampler(DiscreteSampler discreteSampler, List<SharedStateContinuousSampler> samplers) Constructor parameters in org.apache.commons.rng.sampling with type arguments of type SharedStateContinuousSamplerModifierConstructorDescription(package private)CompositeSharedStateContinuousSampler(SharedStateDiscreteSampler discreteSampler, List<SharedStateContinuousSampler> samplers) -
Uses of SharedStateContinuousSampler in org.apache.commons.rng.sampling.distribution
Classes in org.apache.commons.rng.sampling.distribution that implement SharedStateContinuousSamplerModifier and TypeClassDescriptionclassSampling from an exponential distribution.classSampling from the gamma distribution.private static final classClass to sample from the Gamma distribution when0 < alpha < 1.private static classBase class for a sampler from the Gamma distribution.private static final classClass to sample from the Gamma distribution when thealpha >= 1.classBox-Muller algorithm for sampling from Gaussian distribution with mean 0 and standard deviation 1.classSampling from a beta distribution.private static classBase class to implement Cheng's algorithms for the beta distribution.private static final classComputes one sample using Cheng's BB algorithm, when beta distributionalphaandbetashape parameters are both larger than 1.private static final classComputes one sample using Cheng's BC algorithm, when at least one of beta distributionalphaorbetashape parameters is smaller than 1.classSampling from a uniform distribution.private static final classSpecialization to sample from an open interval(lo, hi).classSampling from a Gaussian distribution with given mean and standard deviation.classDistribution sampler that uses the inversion method.classSampling from a Pareto distribution.final classSampling from a Lévy distribution.classSampling from a log-normal distribution.classMarsaglia polar method for sampling from a Gaussian distribution with mean 0 and standard deviation 1.classSamples from a stable distribution.(package private) static classImplement the stable distribution case:alpha == 1andbeta != 0.private static classBase class for implementations of a stable distribution that requires an exponential random deviate.(package private) static classImplement the generic stable distribution case:alpha < 2andbeta == 0.(package private) static classImplement the generic stable distribution case:alpha < 2andbeta == 0.private static final classImplement thealpha = 1andbeta = 0stable distribution case (Cauchy distribution).(package private) static classImplement the generic stable distribution case:alpha < 2andbeta != 0.private static final classImplement thealpha = 2stable distribution case (Gaussian distribution).private static final classImplement thealpha = 0.5andbeta = 1stable distribution case (Levy distribution).private static final classClass for implementations of a stable distribution transformed by scale and location.(package private) static classImplement the generic stable distribution case:alpha < 2andbeta != 0.classSampling from a T distribution.private static final classSample from a t-distribution using a normal distribution.private static final classSample from a t-distribution using Bailey's algorithm.classMarsaglia and Tsang "Ziggurat" method for sampling from a Gaussian distribution with mean 0 and standard deviation 1.classModified ziggurat method for sampling from Gaussian and exponential distributions.static classModified ziggurat method for sampling from an exponential distribution.private static final classSpecialisation which multiplies the standard exponential result by a specified mean.static final classModified ziggurat method for sampling from a Gaussian distribution with mean 0 and standard deviation 1.Subinterfaces with type arguments of type SharedStateContinuousSampler in org.apache.commons.rng.sampling.distributionModifier and TypeInterfaceDescriptioninterfaceSampler that generates values of typedoubleand can create new instances to sample from the same state with a given source of randomness.Fields in org.apache.commons.rng.sampling.distribution declared as SharedStateContinuousSamplerModifier and TypeFieldDescriptionprivate final SharedStateContinuousSamplerAhrensDieterMarsagliaTsangGammaSampler.delegateThe appropriate gamma sampler for the parameters.private final SharedStateContinuousSamplerChengBetaSampler.delegateThe appropriate beta sampler for the parameters.private final SharedStateContinuousSamplerLargeMeanPoissonSampler.exponentialExponential.private final SharedStateContinuousSamplerZigguratSampler.NormalizedGaussian.exponentialExponential sampler used for the long tail.private final SharedStateContinuousSamplerGeometricSampler.GeometricExponentialSampler.exponentialSamplerThe related exponential sampler for the geometric distribution.private final SharedStateContinuousSamplerLargeMeanPoissonSampler.gaussianGaussian.private final SharedStateContinuousSamplerDirichletSampler.SymmetricDirichletSampler.samplerSampler for the categories.private final SharedStateContinuousSampler[]DirichletSampler.GeneralDirichletSampler.samplersSamplers for each category.Methods in org.apache.commons.rng.sampling.distribution with type parameters of type SharedStateContinuousSamplerModifier and TypeMethodDescriptionstatic <S extends NormalizedGaussianSampler & SharedStateContinuousSampler>
SBoxMullerNormalizedGaussianSampler.of(UniformRandomProvider rng) Create a new normalised Gaussian sampler.static <S extends NormalizedGaussianSampler & SharedStateContinuousSampler>
SMarsagliaNormalizedGaussianSampler.of(UniformRandomProvider rng) Create a new normalised Gaussian sampler.static <S extends NormalizedGaussianSampler & SharedStateContinuousSampler>
SZigguratNormalizedGaussianSampler.of(UniformRandomProvider rng) Create a new normalised Gaussian sampler.Methods in org.apache.commons.rng.sampling.distribution that return SharedStateContinuousSamplerModifier and TypeMethodDescriptionprivate static SharedStateContinuousSamplerDirichletSampler.createSampler(UniformRandomProvider rng, double alpha) Creates a gamma sampler for a category with the given concentration parameter.static SharedStateContinuousSamplerAhrensDieterExponentialSampler.of(UniformRandomProvider rng, double mean) Create a new exponential distribution sampler.static SharedStateContinuousSamplerAhrensDieterMarsagliaTsangGammaSampler.of(UniformRandomProvider rng, double alpha, double theta) Creates a new gamma distribution sampler.static SharedStateContinuousSamplerChengBetaSampler.of(UniformRandomProvider rng, double alpha, double beta) Creates a new beta distribution sampler.static SharedStateContinuousSamplerContinuousUniformSampler.of(UniformRandomProvider rng, double lo, double hi) Creates a new continuous uniform distribution sampler.static SharedStateContinuousSamplerContinuousUniformSampler.of(UniformRandomProvider rng, double lo, double hi, boolean excludeBounds) Creates a new continuous uniform distribution sampler.static SharedStateContinuousSamplerGaussianSampler.of(NormalizedGaussianSampler normalized, double mean, double standardDeviation) Create a new normalised Gaussian sampler.static SharedStateContinuousSamplerInverseTransformContinuousSampler.of(UniformRandomProvider rng, ContinuousInverseCumulativeProbabilityFunction function) Create a new inverse-transform continuous sampler.static SharedStateContinuousSamplerInverseTransformParetoSampler.of(UniformRandomProvider rng, double scale, double shape) Creates a new Pareto distribution sampler.static SharedStateContinuousSamplerLogNormalSampler.of(NormalizedGaussianSampler gaussian, double mu, double sigma) Create a new log-normal distribution sampler.AhrensDieterExponentialSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.AhrensDieterMarsagliaTsangGammaSampler.AhrensDieterGammaSampler.withUniformRandomProvider(UniformRandomProvider rng) AhrensDieterMarsagliaTsangGammaSampler.MarsagliaTsangGammaSampler.withUniformRandomProvider(UniformRandomProvider rng) AhrensDieterMarsagliaTsangGammaSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.BoxMullerNormalizedGaussianSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.ChengBetaSampler.ChengBBBetaSampler.withUniformRandomProvider(UniformRandomProvider rng) ChengBetaSampler.ChengBCBetaSampler.withUniformRandomProvider(UniformRandomProvider rng) ChengBetaSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.ContinuousUniformSampler.OpenIntervalContinuousUniformSampler.withUniformRandomProvider(UniformRandomProvider rng) ContinuousUniformSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.GaussianSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.InverseTransformContinuousSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.InverseTransformParetoSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.LogNormalSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.MarsagliaNormalizedGaussianSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.ZigguratNormalizedGaussianSampler.withUniformRandomProvider(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.Constructors in org.apache.commons.rng.sampling.distribution with parameters of type SharedStateContinuousSamplerModifierConstructorDescriptionprivateChengBetaSampler(SharedStateContinuousSampler delegate) (package private)GeneralDirichletSampler(UniformRandomProvider rng, SharedStateContinuousSampler[] samplers) (package private)SymmetricDirichletSampler(UniformRandomProvider rng, int k, SharedStateContinuousSampler sampler)