footiop.blogg.se

Latin hypercube sampling permutation
Latin hypercube sampling permutation













Same as invoking formatPoints(n, d), but prints the points by calling iter repeatedly. More.įormatPoints ( PointSetIterator iter, int n, int d) Same as invoking formatPoints(iter, n, d) with \(n\) and \(d\) equal to the number of points and the dimension, respectively. More.įormats a string that displays the same information as returned by toString, together with the first \(d\) coordinates of the first \(n\) points. Same as invoking formatPoints(n, d) with \(n\) and \(d\) equal to the number of points and the dimension of this object, respectively. Same as addRandomShift(0, dim), where dim is the dimension of the point set.įormats a string that contains information about the point set. Refreshes the random shift (generates new uniform values for the random shift coordinates) for coordinates d1 to d2-1, using the saved shiftStream. Same as addRandomShift(0, dim, stream), where dim is the dimension of the point set. More.īy default, this method generates a random shift in the protected double array shift, to be used eventually for a random shift modulo 1. Randomizes this point set using the given rand. More.Ĭonstructs and returns a point set iterator. Returns \(u_\), the coordinate \(j\) of the point \(i\). Returns the dimension (number of available coordinates) of the points. Public Member Functions inherited from PointSet Returns the reference point set that was passed to the constructor. Removes the first d coordinates of each cached point. Sorts the cached points by increasing order of coordinate j. Randomizes the underlying point set using rand and re-caches the points. Generates a random shift, adds it to the contained point set, and re-caches the points.

latin hypercube sampling permutation

If randomizeParent is true, calls to randomize() will be defered to the parent point set (this is the default) otherwise, the randomize method of the PointSetRandomization instance is invoked with this CachedPointSet instance as its argument.ĪddRandomShift (int d1, int d2, RandomStream stream) SetRandomizeParent (boolean randomizeParent) More.Ĭonstructs and returns a point set iterator which gets the values directly from the array. More.ĬachedPointSet ( PointSet p, int n, int dim)Ĭreates a new PointSet object that contains an array storing the points of p. Public Member Functions inherited from CachedPointSetĬachedPointSet ( PointSet p, int fromPoint, int toPoint, int fromDim, int toDim)Ĭreates a new PointSet object that contains an array storing the coordinates fromDim (inclusive) to toDim (exclusive) of the points numbered fromPoint (inclusive) to toPoint (exclusive) of p.

latin hypercube sampling permutation

Randomizes the points using LHS, regardless of what rand is. Random shifts and partial randomizations are irrelevant here, so this method is redefined to be equivalent to randomize (stream). More.ĪddRandomShift (int fromDim, int toDim, RandomStream stream) This randomization generates a random LHS point set.

latin hypercube sampling permutation

Ĭonstructs the structure for a Latin hypercube with n points in dim dimensions. This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.















Latin hypercube sampling permutation