This functors returns potential (temperature) using the following schema. The start potential equals given startTemperature, the end temperature (after given duration) equals given endTemperature. In the beetween potential decreases (increase when startTemperature < endTemperature, which is not typical use case) in exponential manner. More...
#include <simulated_annealing.hpp>
Public Member Functions | |
exponential_cooling_schema_dependant_on_time (Duration duration, double startTemperature, double endTemperature) | |
Constructor. More... | |
void | restart () |
resets the start point | |
double | operator() () const |
operator(), return Temperature at given time point point More... | |
This functors returns potential (temperature) using the following schema. The start potential equals given startTemperature, the end temperature (after given duration) equals given endTemperature. In the beetween potential decreases (increase when startTemperature < endTemperature, which is not typical use case) in exponential manner.
Duration | |
Clock |
Definition at line 42 of file simulated_annealing.hpp.
|
inline |
Constructor.
duration | |
startTemperature | |
endTemperature |
Definition at line 51 of file simulated_annealing.hpp.
|
inline |
operator(), return Temperature at given time point point
Definition at line 69 of file simulated_annealing.hpp.