Public Member Functions
mets::abstract_cooling_schedule Class Reference

Cooling criteria (for Simulated Annealing). More...

#include <simulated-annealing.hh>

Inheritance diagram for mets::abstract_cooling_schedule:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 abstract_cooling_schedule ()
 Constructor.
virtual double operator() (double temp, feasible_solution &fs)=0
 The function that updates the SA temperature.
virtual ~abstract_cooling_schedule ()
 Virtual destructor.

Detailed Description

Cooling criteria (for Simulated Annealing).

See also:
mets::simulated_annealing

An abstract annealing schedule. Implementations should decide the new temperature every time the subscript operator is called (every search iteration)

Definition at line 49 of file simulated-annealing.hh.


Constructor & Destructor Documentation

Constructor.

Definition at line 53 of file simulated-annealing.hh.

Virtual destructor.

Definition at line 58 of file simulated-annealing.hh.


Member Function Documentation

virtual double mets::abstract_cooling_schedule::operator() ( double  temp,
feasible_solution fs 
) [pure virtual]

The function that updates the SA temperature.

Parameters:
tempThe actual annealing temperature.
fsThe current working solution.
Returns:
The new scheduled temperature.

Implemented in mets::linear_cooling, and mets::exponential_cooling.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:54