#include <moLinearCoolingSchedule.h>

Public Member Functions | |
| moLinearCoolingSchedule (double _threshold, double _quantity) | |
| Simple constructor. | |
| bool | operator() (double &_current_temperature) |
| Function which proceeds to the cooling. | |
Private Attributes | |
| double | threshold |
| The temperature threhold. | |
| double | quantity |
| The quantity that allows the temperature to decrease. | |
An another very simple cooling schedule, the temperature decrease according to a quantity while the temperature is greater than a threshold.
Definition at line 46 of file moLinearCoolingSchedule.h.
| moLinearCoolingSchedule::moLinearCoolingSchedule | ( | double | _threshold, | |
| double | _quantity | |||
| ) | [inline] |
Simple constructor.
| _threshold | the threshold. | |
| _quantity | the quantity used to descrease the temperature. |
Definition at line 55 of file moLinearCoolingSchedule.h.
| bool moLinearCoolingSchedule::operator() | ( | double & | _current_temperature | ) | [inline, virtual] |
Function which proceeds to the cooling.
It decreases the temperature and indicates if it is greater than the threshold.
| _current_temperature | The current temperature. |
Implements eoUF< double &, bool >.
Definition at line 65 of file moLinearCoolingSchedule.h.
1.5.4