Public Member Functions | Protected Attributes | List of all members
ISM::CoolingSchedule Class Referenceabstract

#include <CoolingSchedule.hpp>

Inheritance diagram for ISM::CoolingSchedule:
Inheritance graph
[legend]

Public Member Functions

 CoolingSchedule (double startTemperature, double endTemperature, unsigned repetitionsBeforeUpdate)
 
unsigned getRepetitionsBeforeUpdate ()
 
bool hasReachedEnd ()
 
virtual bool isNewCostAcceptable (double newCost, double oldCost)=0
 
void reset ()
 
virtual void update ()=0
 

Protected Attributes

double mCurrentTemperature
 
const double mEndTemperature
 
unsigned mRepetitionsBeforeUpdate
 
const double mStartTemperature
 

Detailed Description

Definition at line 26 of file CoolingSchedule.hpp.

Constructor & Destructor Documentation

ISM::CoolingSchedule::CoolingSchedule ( double  startTemperature,
double  endTemperature,
unsigned  repetitionsBeforeUpdate 
)
inline

Definition at line 29 of file CoolingSchedule.hpp.

Member Function Documentation

unsigned ISM::CoolingSchedule::getRepetitionsBeforeUpdate ( )

Definition at line 27 of file CoolingSchedule.cpp.

bool ISM::CoolingSchedule::hasReachedEnd ( )

Definition at line 22 of file CoolingSchedule.cpp.

virtual bool ISM::CoolingSchedule::isNewCostAcceptable ( double  newCost,
double  oldCost 
)
pure virtual
void ISM::CoolingSchedule::reset ( )
virtual

Implements ISM::AcceptanceFunction.

Definition at line 32 of file CoolingSchedule.cpp.

virtual void ISM::CoolingSchedule::update ( )
pure virtual

Member Data Documentation

double ISM::CoolingSchedule::mCurrentTemperature
protected

Definition at line 46 of file CoolingSchedule.hpp.

const double ISM::CoolingSchedule::mEndTemperature
protected

Definition at line 45 of file CoolingSchedule.hpp.

unsigned ISM::CoolingSchedule::mRepetitionsBeforeUpdate
protected

Definition at line 48 of file CoolingSchedule.hpp.

const double ISM::CoolingSchedule::mStartTemperature
protected

Definition at line 44 of file CoolingSchedule.hpp.


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


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:41