Uses of Interface
org.apache.commons.rng.sampling.distribution.SharedStateContinuousSampler
-
Packages that use SharedStateContinuousSampler Package Description org.apache.commons.rng.sampling This package provides sampling utilities.org.apache.commons.rng.sampling.distribution 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 SharedStateContinuousSampler Modifier and Type Class Description private static classCompositeSamplers.SharedStateContinuousSamplerFactory.CompositeSharedStateContinuousSamplerA composite continuous sampler with shared state support.Methods in org.apache.commons.rng.sampling that return SharedStateContinuousSampler Modifier and Type Method Description SharedStateContinuousSamplerCompositeSamplers.SharedStateContinuousSamplerFactory. createSampler(DiscreteSampler discreteSampler, java.util.List<SharedStateContinuousSampler> samplers)Methods in org.apache.commons.rng.sampling that return types with arguments of type SharedStateContinuousSampler Modifier and Type Method Description static CompositeSamplers.Builder<SharedStateContinuousSampler>CompositeSamplers. newSharedStateContinuousSamplerBuilder()Create a new builder for a compositeSharedStateContinuousSampler.Method parameters in org.apache.commons.rng.sampling with type arguments of type SharedStateContinuousSampler Modifier and Type Method Description SharedStateContinuousSamplerCompositeSamplers.SharedStateContinuousSamplerFactory. createSampler(DiscreteSampler discreteSampler, java.util.List<SharedStateContinuousSampler> samplers)Constructor parameters in org.apache.commons.rng.sampling with type arguments of type SharedStateContinuousSampler Constructor Description CompositeSharedStateContinuousSampler(SharedStateDiscreteSampler discreteSampler, java.util.List<SharedStateContinuousSampler> samplers) -
Uses of SharedStateContinuousSampler in org.apache.commons.rng.sampling.distribution
Classes in org.apache.commons.rng.sampling.distribution that implement SharedStateContinuousSampler Modifier and Type Class Description classAhrensDieterExponentialSamplerSampling from an exponential distribution.classAhrensDieterMarsagliaTsangGammaSamplerSampling from the gamma distribution.private static classAhrensDieterMarsagliaTsangGammaSampler.AhrensDieterGammaSamplerClass to sample from the Gamma distribution when0 < alpha < 1.private static classAhrensDieterMarsagliaTsangGammaSampler.BaseGammaSamplerBase class for a sampler from the Gamma distribution.private static classAhrensDieterMarsagliaTsangGammaSampler.MarsagliaTsangGammaSamplerClass to sample from the Gamma distribution when thealpha >= 1.classBoxMullerNormalizedGaussianSamplerBox-Muller algorithm for sampling from Gaussian distribution with mean 0 and standard deviation 1.classChengBetaSamplerSampling from a beta distribution.private static classChengBetaSampler.BaseChengBetaSamplerBase class to implement Cheng's algorithms for the beta distribution.private static classChengBetaSampler.ChengBBBetaSamplerComputes one sample using Cheng's BB algorithm, when beta distributionalphaandbetashape parameters are both larger than 1.private static classChengBetaSampler.ChengBCBetaSamplerComputes one sample using Cheng's BC algorithm, when at least one of beta distributionalphaorbetashape parameters is smaller than 1.classContinuousUniformSamplerSampling from a uniform distribution.private static classContinuousUniformSampler.OpenIntervalContinuousUniformSamplerSpecialization to sample from an open interval(lo, hi).classGaussianSamplerSampling from a Gaussian distribution with given mean and standard deviation.classInverseTransformContinuousSamplerDistribution sampler that uses the inversion method.classInverseTransformParetoSamplerSampling from a Pareto distribution.classLevySamplerSampling from a Lévy distribution.classLogNormalSamplerSampling from a log-normal distribution.classMarsagliaNormalizedGaussianSamplerMarsaglia polar method for sampling from a Gaussian distribution with mean 0 and standard deviation 1.classStableSamplerSamples from a stable distribution.(package private) static classStableSampler.Alpha1CMSStableSamplerImplement the stable distribution case:alpha == 1andbeta != 0.private static classStableSampler.BaseStableSamplerBase class for implementations of a stable distribution that requires an exponential random deviate.(package private) static classStableSampler.Beta0CMSStableSamplerImplement the generic stable distribution case:alpha < 2andbeta == 0.(package private) static classStableSampler.Beta0WeronStableSamplerImplement the generic stable distribution case:alpha < 2andbeta == 0.private static classStableSampler.CauchyStableSamplerImplement thealpha = 1andbeta = 0stable distribution case (Cauchy distribution).(package private) static classStableSampler.CMSStableSamplerImplement the generic stable distribution case:alpha < 2andbeta != 0.private static classStableSampler.GaussianStableSamplerImplement thealpha = 2stable distribution case (Gaussian distribution).private static classStableSampler.LevyStableSamplerImplement thealpha = 0.5andbeta = 1stable distribution case (Levy distribution).private static classStableSampler.TransformedStableSamplerClass for implementations of a stable distribution transformed by scale and location.(package private) static classStableSampler.WeronStableSamplerImplement the generic stable distribution case:alpha < 2andbeta != 0.classTSamplerSampling from a T distribution.private static classTSampler.NormalTSamplerSample from a t-distribution using a normal distribution.private static classTSampler.StudentsTSamplerSample from a t-distribution using Bailey's algorithm.classZigguratNormalizedGaussianSamplerMarsaglia and Tsang "Ziggurat" method for sampling from a Gaussian distribution with mean 0 and standard deviation 1.classZigguratSamplerModified ziggurat method for sampling from Gaussian and exponential distributions.static classZigguratSampler.ExponentialModified ziggurat method for sampling from an exponential distribution.private static classZigguratSampler.Exponential.ExponentialMeanSpecialisation which multiplies the standard exponential result by a specified mean.static classZigguratSampler.NormalizedGaussianModified ziggurat method for sampling from a Gaussian distribution with mean 0 and standard deviation 1.Fields in org.apache.commons.rng.sampling.distribution declared as SharedStateContinuousSampler Modifier and Type Field Description private SharedStateContinuousSamplerAhrensDieterMarsagliaTsangGammaSampler. delegateThe appropriate gamma sampler for the parameters.private SharedStateContinuousSamplerChengBetaSampler. delegateThe appropriate beta sampler for the parameters.private SharedStateContinuousSamplerLargeMeanPoissonSampler. exponentialExponential.private SharedStateContinuousSamplerZigguratSampler.NormalizedGaussian. exponentialExponential sampler used for the long tail.private SharedStateContinuousSamplerGeometricSampler.GeometricExponentialSampler. exponentialSamplerThe related exponential sampler for the geometric distribution.private SharedStateContinuousSamplerLargeMeanPoissonSampler. gaussianGaussian.private SharedStateContinuousSamplerDirichletSampler.SymmetricDirichletSampler. samplerSampler for the categories.private SharedStateContinuousSampler[]DirichletSampler.GeneralDirichletSampler. samplersSamplers for each category.Methods in org.apache.commons.rng.sampling.distribution with type parameters of type SharedStateContinuousSampler Modifier and Type Method Description static <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 SharedStateContinuousSampler Modifier and Type Method Description private 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.SharedStateContinuousSamplerAhrensDieterExponentialSampler. 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.SharedStateContinuousSamplerAhrensDieterMarsagliaTsangGammaSampler.AhrensDieterGammaSampler. withUniformRandomProvider(UniformRandomProvider rng)SharedStateContinuousSamplerAhrensDieterMarsagliaTsangGammaSampler.MarsagliaTsangGammaSampler. withUniformRandomProvider(UniformRandomProvider rng)SharedStateContinuousSamplerAhrensDieterMarsagliaTsangGammaSampler. 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.SharedStateContinuousSamplerBoxMullerNormalizedGaussianSampler. 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.SharedStateContinuousSamplerChengBetaSampler.ChengBBBetaSampler. withUniformRandomProvider(UniformRandomProvider rng)SharedStateContinuousSamplerChengBetaSampler.ChengBCBetaSampler. withUniformRandomProvider(UniformRandomProvider rng)SharedStateContinuousSamplerChengBetaSampler. 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.SharedStateContinuousSamplerContinuousUniformSampler.OpenIntervalContinuousUniformSampler. withUniformRandomProvider(UniformRandomProvider rng)SharedStateContinuousSamplerContinuousUniformSampler. 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.SharedStateContinuousSamplerGaussianSampler. 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.SharedStateContinuousSamplerInverseTransformContinuousSampler. 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.SharedStateContinuousSamplerInverseTransformParetoSampler. 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.SharedStateContinuousSamplerLogNormalSampler. 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.SharedStateContinuousSamplerMarsagliaNormalizedGaussianSampler. 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.SharedStateContinuousSamplerZigguratNormalizedGaussianSampler. 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 SharedStateContinuousSampler Constructor Description ChengBetaSampler(SharedStateContinuousSampler delegate)GeneralDirichletSampler(UniformRandomProvider rng, SharedStateContinuousSampler[] samplers)SymmetricDirichletSampler(UniformRandomProvider rng, int k, SharedStateContinuousSampler sampler)
-