Package edu.cnu.mdi.sim.simanneal
Interface AnnealingSchedule
- All Known Implementing Classes:
GeometricAnnealingSchedule
public interface AnnealingSchedule
Interface for defining an annealing schedule, which determines the temperature
at each step of the simulated annealing process and when to stop.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanshouldStop(long step, SimulatedAnnealingConfig cfg) Whether annealing should stop at this step.doubletemperature(long step, SimulatedAnnealingConfig cfg) Temperature at step k (0-based), given config.
-
Method Details
-
temperature
Temperature at step k (0-based), given config. -
shouldStop
Whether annealing should stop at this step.
-