![]() |
FMT 1.2.0
Forest management tools for forest planning
|
Exponential cooling schedule for simulated annealing, reducing the temperature by a constant annealing rate. More...
#include <FMTExponentialSchedule.h>
Public Member Functions | |
| FMTExponentialSchedule () | |
| Default constructor for FMTExponentialSchedule. | |
| ~FMTExponentialSchedule ()=default | |
| Default destructor for FMTExponentialSchedule. | |
| void | reduceTemp () |
| Reduce the temperature using the exponential annealing rate. | |
| std::unique_ptr< FMTSaSchedule > | clone () const |
| Return a clone of the FMTExponentialSchedule. | |
| void | setAnnealingRate (const double &p_annealingRate) |
| Set the annealing rate. | |
Public Member Functions inherited from Spatial::FMTSaSchedule | |
| FMTSaSchedule (const std::string &typesc) | |
| Construct a FMTSaSchedule from a schedule type. | |
| FMTSaSchedule ()=default | |
| Default constructor for FMTSaSchedule. | |
| std::string | getScheduleType () const |
| Return the schedule type. | |
| size_t | getLevel () const |
| Return the level of the schedule. | |
| void | setInitialTemperature (const double &Temp) |
| Set the initial temperature. | |
| virtual | ~FMTSaSchedule () |
| Virtual destructor for FMTSaSchedule. | |
| virtual void | reduceTemp () |
| Reduce the temperature according to the cooling schedule. | |
| double | getTemp () const |
| Return the current temperature. | |
| void | setTemp (double p_Temp) |
| Set the current temperature. | |
| double | getInitialTemp () const |
| Return the initial temperature. | |
| virtual std::unique_ptr< FMTSaSchedule > | clone () const |
| Return a clone of the FMTSaSchedule. | |
Additional Inherited Members | |
Protected Attributes inherited from Spatial::FMTSaSchedule | |
| std::string | m_ScheduleType |
| size_t | m_Level |
| double | m_Temperature |
| double | m_InitialTemperature |
Exponential cooling schedule for simulated annealing, reducing the temperature by a constant annealing rate.
| Spatial::FMTExponentialSchedule::FMTExponentialSchedule | ( | ) |
Default constructor for FMTExponentialSchedule.
|
default |
Default destructor for FMTExponentialSchedule.
|
virtual |
Return a clone of the FMTExponentialSchedule.
Reimplemented from Spatial::FMTSaSchedule.
|
virtual |
Reduce the temperature using the exponential annealing rate.
Reimplemented from Spatial::FMTSaSchedule.
| void Spatial::FMTExponentialSchedule::setAnnealingRate | ( | const double & | p_annealingRate | ) |
Set the annealing rate.