ExponentialCoolingSchedule

constructor(initialTemperature: Double, coolingRate: Double = defaultCoolingRate)

Creates an exponential cooling schedule with the provided initial temperature and cooling rate.

Parameters

initialTemperature

The starting temperature for the cooling schedule. Must be positive.

coolingRate

The rate at which the temperature decreases in each iteration. Defaults to 0.95. Must be a value between 0.0 (exclusive) and 1.0 (exclusive).