Class Uniform

java.lang.Object
org.moeaframework.util.sequence.Uniform
All Implemented Interfaces:
Sequence

public class Uniform extends Object implements Sequence
Generates sequences using a uniform random distribution.
  • Constructor Details

    • Uniform

      public Uniform()
      Constructs a uniform random sequence generator.
  • Method Details

    • generate

      public double[][] generate(int N, int D)
      Description copied from interface: Sequence
      Returns a N x D matrix of real numbers in the range [0, 1].
      Specified by:
      generate in interface Sequence
      Parameters:
      N - the number of sample points
      D - the dimension of each sample point
      Returns:
      a N x D matrix of real numbers in the range [0, 1]