Public Member Functions | Protected Attributes

mets::exponential_cooling Class Reference
[Simulated Annealing]

Original ECS proposed by Kirkpatrick. More...

#include <simulated-annealing.hh>

Inheritance diagram for mets::exponential_cooling:
Inheritance graph
[legend]
Collaboration diagram for mets::exponential_cooling:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 exponential_cooling (double alpha=0.95)
double operator() (double temp, feasible_solution &fs)
 The function that updates the SA temperature.

Protected Attributes

double factor_m

Detailed Description

Original ECS proposed by Kirkpatrick.


Member Function Documentation

double mets::exponential_cooling::operator() ( double  temp,
feasible_solution fs 
) [inline, virtual]

The function that updates the SA temperature.

Parameters:
temp The actual annealing temperature.
fs The current working solution.
Returns:
The new scheduled temperature.

Implements mets::abstract_cooling_schedule.


The documentation for this class was generated from the following file:

Return to METSlib home page