test_class.file: singa-mathematics/src/test/java/bio/singa/mathematics/intervals/SamplerTest.java
test_class.identifier: SamplerTest
test_case.body: @Test
      @DisplayName("multiplicative sampling")
      void testMultiplicativeSampling() {
          List<Double> firstSamples = Sampler.sampleMultiplicative(1, 10, 10);
          for (int i = 1; i <= 10; i++) {
              assertEquals(firstSamples.get(i-1).doubleValue(), i);
          }
      }
test_case.class_method_signature: SamplerTest.testMultiplicativeSampling()
test_case.full_signature: @Test @DisplayName("multiplicative sampling") void testMultiplicativeSampling()
test_case.identifier: testMultiplicativeSampling
test_case.invocations: sampleMultiplicative assertEquals doubleValue get
test_case.modifiers: @Test @DisplayName("multiplicative sampling")
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMultiplicativeSampling()
focal_class.file: singa-mathematics/src/main/java/bio/singa/mathematics/intervals/Sampler.java
focal_class.identifier: Sampler
focal_class.class_method_signature: Sampler.sampleMultiplicative(double lowerBound, double upperBound, int numberOfSamples)
focal_class.full_signature: public static List<Double> sampleMultiplicative(double lowerBound, double upperBound, int numberOfSamples)
focal_class.identifier: sampleMultiplicative
focal_class.modifiers: public static
focal_class.parameters: (double lowerBound, double upperBound, int numberOfSamples)
focal_class.return: List<Double>
focal_class.signature: List<Double> sampleMultiplicative(double lowerBound, double upperBound, int numberOfSamples)
focal_class.class_method_signature: Sampler.sampleLogarithmic(double lowerBound, double upperBound, double sharpness, int numberOfSamples)
focal_class.full_signature: public static List<Double> sampleLogarithmic(double lowerBound, double upperBound, double sharpness, int numberOfSamples)
focal_class.identifier: sampleLogarithmic
focal_class.modifiers: public static
focal_class.parameters: (double lowerBound, double upperBound, double sharpness, int numberOfSamples)
focal_class.return: List<Double>
focal_class.signature: List<Double> sampleLogarithmic(double lowerBound, double upperBound, double sharpness, int numberOfSamples)
focal_class.class_method_signature: Sampler.sampleExponentially(int smallestExponent, int largestExponent, double baseMultiplier)
focal_class.full_signature: public static List<Double> sampleExponentially(int smallestExponent, int largestExponent, double baseMultiplier)
focal_class.identifier: sampleExponentially
focal_class.modifiers: public static
focal_class.parameters: (int smallestExponent, int largestExponent, double baseMultiplier)
focal_class.return: List<Double>
focal_class.signature: List<Double> sampleExponentially(int smallestExponent, int largestExponent, double baseMultiplier)
focal_method.body: public static List<Double> sampleMultiplicative(double lowerBound, double upperBound, int numberOfSamples) {
          List<Double> samples = new ArrayList<>();
          double stepSize = (upperBound - lowerBound) / (numberOfSamples - 1);
          double nextStep = lowerBound;
          for (int i = 0; i < numberOfSamples; i++) {
              samples.add(nextStep);
              nextStep += stepSize;
          }
          return samples;
      }
focal_method.class_method_signature: Sampler.sampleMultiplicative(double lowerBound, double upperBound, int numberOfSamples)
focal_method.full_signature: public static List<Double> sampleMultiplicative(double lowerBound, double upperBound, int numberOfSamples)
focal_method.identifier: sampleMultiplicative
focal_method.invocations: add
focal_method.modifiers: public static
focal_method.parameters: (double lowerBound, double upperBound, int numberOfSamples)
focal_method.return: List<Double>
focal_method.signature: List<Double> sampleMultiplicative(double lowerBound, double upperBound, int numberOfSamples)