Linear Cooling Schedule
class LinearCoolingSchedule(initialTemperature: Double = defaultInitialTemperature, val stoppingTemperature: Double = defaultStoppingTemperature, val maxIterations: Int = defaultMaxNumberIterations) : CoolingSchedule
Represents a linear cooling schedule used in optimization algorithms like simulated annealing. The temperature decreases linearly with each iteration based on the specified parameters.
Parameters
initial Temperature
The starting temperature for the cooling schedule. Must be positive and greater than the final temperature.
stopping Temperature
The minimum temperature to which the schedule decreases. Must be positive and less than the initial temperature.
max Iterations
The total number of iterations over which the temperature decreases. Must be positive.
Throws
if maxIterations is not positive, if finalTemperature is not positive, or if finalTemperature is not less than initialTemperature.