METSlib  0.6
Public Member Functions | Protected Attributes | List of all members
mets::exponential_cooling Class Reference

Original ECS proposed by Kirkpatrick. More...

#include <simulated-annealing.hh>

Inheritance diagram for mets::exponential_cooling:
Inheritance graph
Collaboration diagram for mets::exponential_cooling:
Collaboration graph

Public Member Functions

 exponential_cooling (double alpha=0.95)
 
double operator() (double temp, feasible_solution &fs)
 The function that updates the SA temperature. More...
 
- Public Member Functions inherited from mets::abstract_cooling_schedule
 abstract_cooling_schedule ()
 Constructor.
 
virtual ~abstract_cooling_schedule ()
 Virtual destructor.
 

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 
)
inlinevirtual

The function that updates the SA temperature.

Parameters
tempThe actual annealing temperature.
fsThe 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