Pallas Solver  0.1
C++ Global Optimization Algorithms
Public Member Functions | List of all members
pallas::FastCooling Class Reference

Fast cooling schedule updates. More...

#include <cooling_schedule.h>

Inheritance diagram for pallas::FastCooling:
Inheritance graph
[legend]
Collaboration diagram for pallas::FastCooling:
Collaboration graph
[legend]

Public Member Functions

 FastCooling (const CoolingSchedule::Options &options)
 Default constructor. More...
 
void update_temperature ()
 Updates the temperature member variable according to the cooling schedule method.
 
- Public Member Functions inherited from pallas::CoolingSchedule
virtual ~CoolingSchedule ()
 Default destructor.
 
double get_temperature () const
 Returns the current temperature stored withing the cooling schedule.
 
double get_initial_temperature () const
 Returns the initial temperature to start the minimization at.
 
void set_temperature (double T)
 Sets the current temperature. More...
 
void calc_start_temperature (const GradientProblem &problem, internal::State &state, StepFunction *step_function)
 Estimates an appropriate starting temperature. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from pallas::CoolingSchedule
static CoolingScheduleCreate (const Options &options)
 Creates a pointer to a cooling schedule. More...
 
- Protected Attributes inherited from pallas::CoolingSchedule
double temperature
 
double initial_temperature
 
double boltzmann_constant
 

Detailed Description

Fast cooling schedule updates.

Updates the temperature according to the formula:

T = pow(-c * k, quench);
T = T0 * exp(T);
++k;

where c = m * exp(-n * quench) and k = boltzmann_constant.

Parameters
optionsConfigurable options for modifying the default behaviour of the cooling schedule. Can be used to the m, n, k, and quench parameters for the cooling schedule.

Constructor & Destructor Documentation

pallas::FastCooling::FastCooling ( const CoolingSchedule::Options options)

Default constructor.

Parameters
options

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