Exponential Cooling Schedule
Creates an exponential cooling schedule with the provided initial temperature and cooling rate.
Parameters
initial Temperature
The starting temperature for the cooling schedule. Must be positive.
cooling Rate
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).
constructor(initialTemperature: Double, stoppingTemperature: Double = defaultStoppingTemperature, maxIterations: Int = defaultMaxNumberIterations)(source)
Secondary constructor that dynamically calculates the optimal cooling rate based on the desired initial temperature, stopping temperature, and max iterations.
Parameters
initial Temperature
The starting temperature for the cooling schedule.
stopping Temperature
The desired temperature at the final iteration.
max Iterations
The total number of iterations to reach the stopping temperature.