Class CompositeSamplers.SharedStateDiscreteProbabilitySampler

java.lang.Object
org.apache.commons.rng.sampling.CompositeSamplers.SharedStateDiscreteProbabilitySampler
All Implemented Interfaces:
DiscreteSampler, SharedStateDiscreteSampler, SharedStateSampler<SharedStateDiscreteSampler>
Enclosing class:
CompositeSamplers

private static final class CompositeSamplers.SharedStateDiscreteProbabilitySampler extends Object implements SharedStateDiscreteSampler
A class to implement the SharedStateDiscreteSampler interface for a discrete probability sampler given a factory and the probability distribution. Each new instance will recreate the distribution sampler using the factory.