Package org.moeaframework.util.sequence
Interface Sequence
- All Known Implementing Classes:
LatinHypercube
,Saltelli
,Sobol
,Uniform
public interface Sequence
Interface for generating a sequence of real numbers. The nature of the sequence is specific to the implementation;
generated sequences may be deterministic or stochastic, uniform or non-uniform, etc. Refer to the implementing
class' documentation for details.
-
Method Summary
Modifier and TypeMethodDescriptiondouble[][]
generate
(int N, int D) Returns aN x D
matrix of real numbers in the range[0, 1]
.
-
Method Details
-
generate
double[][] generate(int N, int D) Returns aN x D
matrix of real numbers in the range[0, 1]
.- Parameters:
N
- the number of sample pointsD
- the dimension of each sample point- Returns:
- a
N x D
matrix of real numbers in the range[0, 1]
-