Package org.opt4j.optimizer.sa
Interface CoolingSchedule
- All Known Implementing Classes:
CoolingScheduleDefault
,CoolingScheduleExponential
,CoolingScheduleHyperbolic
,CoolingScheduleLinear
public interface CoolingSchedule
The
CoolingSchedule
for the SimulatedAnnealing
.-
Method Summary
Modifier and TypeMethodDescriptiondouble
getTemperature
(int i, int n) Returns the temperature for the iterationi
of the maximal number of iterationsn
.
-
Method Details
-
getTemperature
double getTemperature(int i, int n) Returns the temperature for the iterationi
of the maximal number of iterationsn
.- Parameters:
i
- the current iterationn
- the maximal number of iterations- Returns:
- the temperature for the current iteration
-