Package org.moeaframework.util.sequence
Class LatinHypercube
java.lang.Object
org.moeaframework.util.sequence.LatinHypercube
- All Implemented Interfaces:
Sequence
Generates sequences using Latin hypercube sampling (LHS). Each axis is divided into
N
stripes and exactly
one point may exist in each stripe.
References:
- McKay M.D., Beckman, R.J., and Conover W.J. "A Comparison of Three Methods for Selecting Values of Input Variables in the Analysis of Output from a Computer Code." Technometrics, 21(2):239-245, 1979.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble[][]
generate
(int N, int D) Returns aN x D
matrix of real numbers in the range[0, 1]
.
-
Constructor Details
-
LatinHypercube
public LatinHypercube()Constructs a Latin hypercube sequence generator.
-
-
Method Details
-
generate
public double[][] generate(int N, int D) Description copied from interface:Sequence
Returns aN x D
matrix of real numbers in the range[0, 1]
.
-