Interface WeightGenerator

All Known Implementing Classes:
FixedWeights, NormalBoundaryIntersectionGenerator, RandomGenerator, UniformDesignGenerator

public interface WeightGenerator
Interface for generating a sequence of weights. A weight generator must satisfy these conditions:
  1. Each individual weight is 0.0 <= w[i] <= 1.0.
  2. The sum of all weights must be exactly 1.0.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<double[]>
    Returns the generated weights.
    int
    Returns the number of weights that will be generated.
  • Method Details

    • size

      int size()
      Returns the number of weights that will be generated.
      Returns:
      the number of weights that will be generated
    • generate

      List<double[]> generate()
      Returns the generated weights.
      Returns:
      the generated weights