allocate

open override fun allocate(solutions: List<Solution>, additionalBudget: Int): Map<InputMap, Int>(source)

Returns the number of additional replications to give each solution so that, together with the replications they already carry, additionalBudget new replications are distributed across solutions according to the rule. Solutions receiving none may be omitted from the result.

Return

a map from each solution's input point to its additional replication count (>= 0)

Parameters

solutions

the competing solutions (each carrying its current mean, variance, and count)

additionalBudget

the number of additional replications to distribute