kumulant

RouletteWheelSpec

@Serializable
@SerialName(value = "RouletteWheel")
data class RouletteWheelSpec(val nbrArms: Int, val reactionFactor: Double = 0.1, val segmentLength: Int = 10, val initialWeight: Double = 1.0, val minWeight: Double = 0.01) : UnivariateBanditSpec(source)

Spec for RouletteWheelBandit.

Constructors

RouletteWheelSpec

constructor(nbrArms: Int, reactionFactor: Double = 0.1, segmentLength: Int = 10, initialWeight: Double = 1.0, minWeight: Double = 0.01)(source)

Properties

initialWeight

Starting weight assigned to every arm.

minWeight

Floor on the rebalanced weight.

nbrArms

Number of arms in the population.

reactionFactor

Blend factor for the Ropke-Pisinger weight update.

segmentLength

Updates between successive weight rebalances.