LatinHyperCubePointGenerator

class LatinHyperCubePointGenerator @JvmOverloads constructor(val pointsPerDimension: Int, val problemDefinition: ProblemDefinition, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider) : StartingPointIfc(source)

Creates a Latin hyper-cube sampler with each dimension divided into the specified number of points. The hyper-cube is formed from the specified intervals of the problem. The sampling will ensure input feasible starting points.

Parameters

pointsPerDimension

the number of divisions of the dimensions

problemDefinition

the problem to sample from

streamNum

the random number stream number, defaults to 0, which means the next stream

streamProvider

the provider of random number streams, defaults to KSLRandom.DefaultRNStreamProvider

Constructors

Link copied to clipboard
constructor(pointsPerDimension: Int, problemDefinition: ProblemDefinition, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider)

Properties

Link copied to clipboard

The maximum number of iterations when sampling for an input feasible point

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun startingPoint(problemDefinition: ProblemDefinition): InputMap