Companion

Functions

Link copied to clipboard
fun calculateOptimalCoolingRate(initialTemperature: Double, stoppingTemperature: Double = defaultStoppingTemperature, maxIterations: Int = defaultMaxNumberIterations): Double

Calculates the optimal exponential cooling rate required to transition from the initialTemperature to the stoppingTemperature over exactly maxIterations.

Link copied to clipboard
fun createTargetedSchedule(initialTemperature: Double, stoppingTemperature: Double = defaultStoppingTemperature, maxIterations: Int = defaultMaxNumberIterations): ExponentialCoolingSchedule

Factory method that creates an ExponentialCoolingSchedule using a dynamically calculated cooling rate perfectly tuned to the provided boundary parameters.