Documentation API of the 'cern.jet.random.sampling.RandomSamplingAssistant' Java class
RandomSamplingAssistant
cern.jet.random.sampling

Class RandomSamplingAssistant

  • All Implemented Interfaces:
    Serializable, Cloneable


    public class RandomSamplingAssistantextends PersistentObject
    Conveniently computes a stable Simple Random Sample Without Replacement (SRSWOR) subsequence of n elements from a given input sequence of N elements; Example: Computing a sublist of n=3 random elements from a list (1,...,50) may yield the sublist (7,13,47). The subsequence is guaranteed to be stable, i.e. elements never change position relative to each other. Each element from the N elements has the same probability to be included in the n chosen elements. This class is a convenience adapter for RandomSampler using blocks.
    See Also:
    RandomSampler, Serialized Form

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.