BatchAllocationRuleIfc

A batch simulation-allocation rule: it distributes an additional replication budget across the whole set of competing solutions at once (rather than one solution at a time). This is required by allocation schemes such as OCBA whose per-system effort depends on the means and variances of all the competitors. CompassSolver uses this batch path when its allocation rule implements this interface, sizing the budget from the rule's per-solution schedule and then letting the rule reallocate it.

Inheritors

Functions

Link copied to clipboard
abstract fun allocate(solutions: List<Solution>, additionalBudget: Int): Map<InputMap, Int>

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.