Class RandomSamplingAlgorithm


  • public final class RandomSamplingAlgorithm
    extends SamplingAlgorithm
    Defines a Sampling Algorithm that generates values randomly.
    • Constructor Detail

      • RandomSamplingAlgorithm

        public RandomSamplingAlgorithm()
    • Method Detail

      • rule

        public RandomSamplingAlgorithmRule rule()
        Get the rule property: The specific type of random algorithm.
        Returns:
        the rule value.
      • seed

        public Integer seed()
        Get the seed property: An optional integer to use as the seed for random number generation.
        Returns:
        the seed value.
      • withSeed

        public RandomSamplingAlgorithm withSeed​(Integer seed)
        Set the seed property: An optional integer to use as the seed for random number generation.
        Parameters:
        seed - the seed value to set.
        Returns:
        the RandomSamplingAlgorithm object itself.