METSlib 0.6

- Main Page
- Modules
- Classes

- Class List
- Class Hierarchy
- Class Members

Public Member Functions | Protected Attributes | List of all members
mets::linear_cooling Class Reference
Simulated Annealing

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

`#include <simulated-annealing.hh>`

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

## 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
| ) |  |
| 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:

- metslib/simulated-annealing.hh

Return to METSlib home page