Class ExpTemperatureFunction

    • Constructor Detail

      • ExpTemperatureFunction

        public ExpTemperatureFunction​(double initialTemperature)
        Constructs a new instance with an initial temperature.
        Parameters:
        initialTemperature - the initial temperature
    • Method Detail

      • temperature

        public double temperature​(int k)
        Matlab's default: @temperatureexp (default) - T = T0 * 0.95^k.
        Specified by:
        temperature in class SimpleTemperatureFunction
        Parameters:
        k - the time at which to get a temperature, or the annealing parameter, same as the iteration number until reannealing
        Returns:
        the temperature at time t