Interface CompositeSamplers.SamplerBuilder.SamplerFactory<S>

    • Method Detail

      • createSampler

        S createSampler​(DiscreteSampler discreteSampler,
                        java.util.List<S> samplers)
        Creates a new composite sampler.

        If the composite specialisation is a shared state sampler the discrete sampler passed to this method will be an instance of SharedStateDiscreteSampler.

        Parameters:
        discreteSampler - Discrete sampler.
        samplers - Samplers.
        Returns:
        the sampler