Interface InitialTemperatureCalculator<M extends Move<S,I>,S extends Solution<S,I>,I extends Instance>

All Known Implementing Classes:
ConstantInitialTemperature, MaxDifferenceInitialTemperature
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface InitialTemperatureCalculator<M extends Move<S,I>,S extends Solution<S,I>,I extends Instance>
Determines initial simulated annealing temperature.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    initial(S solution, Neighborhood<M,S,I> neighborhood)
    Determines initial simulated annealing temperature
  • Method Details

    • initial

      double initial(S solution, Neighborhood<M,S,I> neighborhood)
      Determines initial simulated annealing temperature
      Parameters:
      solution - Solution being solved
      neighborhood - Current neighborhood
      Returns:
      temperature as a double