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

Alternative LCS proposed by Randelman and Grest. More...

#include <simulated-annealing.hh>

Inheritance diagram for mets::linear_cooling:
Inheritance graph
Collaboration diagram for mets::linear_cooling:
Collaboration graph

Public Member Functions

 linear_cooling (double delta=0.1)
 
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 decrement_m
 

Detailed Description

Alternative LCS proposed by Randelman and Grest.

Member Function Documentation

double mets::linear_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