Produces a normalized design and calculates the minimal distance
if required.
A design is a matrix with dim
columns and size
rows.
Distance can be calculated with respect to a fixed, nested design.
designLHDNorm(
dim,
size,
calcMinDistance = FALSE,
nested = NULL,
inequalityConstraint = NULL
)
number, dimension of the problem (will be no. of columns of the result matrix)
number of points with that dimension needed. (will be no. of rows of the result matrix).
Boolean to indicate whether a minimal distance should be calculated.
nested design to be considered during distance calculation.
inequality constraint function, smaller zero for infeasible points. Used to replace infeasible points with random points. Has to evaluate points in interval [0;1].
list L
- L
consists of a matrix L$design
and (if required) a minimal distance L$minDistance
This function is used as a basis for designLHD
.