CESamplerSpec

@Serializable
sealed class CESamplerSpec(source)

Cross-entropy sampler selection.

The CE algorithm parameterizes a sampling distribution and updates it each iteration based on the elite sample. This sealed type lets future sampler implementations be added without breaking existing SolverSpec.CrossEntropy documents. Currently only the multivariate normal sampler is exposed.

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard
@Serializable
@SerialName(value = "normal")
data class Normal(val meanSmoother: Double = 0.85, val sdSmoother: Double = 0.85, val coefficientOfVariationThreshold: Double = 0.03) : CESamplerSpec

Multivariate-normal cross-entropy sampler; mirrors ksl.simopt.solvers.algorithms.CENormalSampler.