MOEA Framework 2.12
API Specification

org.moeaframework.util.sequence
Class Uniform

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

public class Uniform
extends Object
implements Sequence

Generates sequences using a uniform random distribution.


Constructor Summary
Uniform()
          Constructs a uniform random sequence generator.
 
Method Summary
 double[][] generate(int N, int D)
          Returns a N x D matrix of real numbers in the range [0, 1].
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Uniform

public Uniform()
Constructs a uniform random sequence generator.

Method Detail

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]

MOEA Framework 2.12
API Specification

Copyright 2009-2016 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Visit us on Github!