Class CompositeSamplers.SharedStateObjectSamplerFactory.CompositeSharedStateObjectSampler<T>

java.lang.Object
org.apache.commons.rng.sampling.CompositeSamplers.CompositeSampler<SharedStateObjectSampler<T>>
org.apache.commons.rng.sampling.CompositeSamplers.SharedStateObjectSamplerFactory.CompositeSharedStateObjectSampler<T>
Type Parameters:
T - Type of sample
All Implemented Interfaces:
ObjectSampler<T>, SharedStateObjectSampler<T>, SharedStateSampler<SharedStateObjectSampler<T>>
Enclosing class:
CompositeSamplers.SharedStateObjectSamplerFactory<T>

private static final class CompositeSamplers.SharedStateObjectSamplerFactory.CompositeSharedStateObjectSampler<T> extends CompositeSamplers.CompositeSampler<SharedStateObjectSampler<T>> implements SharedStateObjectSampler<T>
A composite object sampler with shared state support.

The source sampler for each sampler is chosen based on a user-defined discrete probability distribution.