Public Member Functions | Private Attributes | List of all members
ISM::ExponentialCoolingSchedule Class Reference

#include <CostDifferenceDeltaAcceptanceFunction.hpp>

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

Public Member Functions

 ExponentialCoolingSchedule (double startTemperature, double endTemperature, unsigned repetitionsBeforeUpdate, double temperatureFactor)
 
 ExponentialCoolingSchedule (double startTemperature, double endTemperature, unsigned repetitionsBeforeUpdate, double temperatureFactor)
 
bool isNewCostAcceptable (double newCost, double oldCost)
 
bool isNewCostAcceptable (double newCost, double oldCost)
 
void update ()
 
void update ()
 
- Public Member Functions inherited from ISM::CoolingSchedule
 CoolingSchedule (double startTemperature, double endTemperature, unsigned repetitionsBeforeUpdate)
 
unsigned getRepetitionsBeforeUpdate ()
 
bool hasReachedEnd ()
 
void reset ()
 

Private Attributes

std::uniform_real_distribution< double > mDistribution = std::uniform_real_distribution<double>(0.0, 1.0)
 
std::default_random_engine mGenerator
 
double mTemperatureFactor
 

Additional Inherited Members

- Protected Attributes inherited from ISM::CoolingSchedule
double mCurrentTemperature
 
const double mEndTemperature
 
unsigned mRepetitionsBeforeUpdate
 
const double mStartTemperature
 

Detailed Description

Definition at line 27 of file CostDifferenceDeltaAcceptanceFunction.hpp.

Constructor & Destructor Documentation

ISM::ExponentialCoolingSchedule::ExponentialCoolingSchedule ( double  startTemperature,
double  endTemperature,
unsigned  repetitionsBeforeUpdate,
double  temperatureFactor 
)
inline

Definition at line 30 of file CostDifferenceDeltaAcceptanceFunction.hpp.

ISM::ExponentialCoolingSchedule::ExponentialCoolingSchedule ( double  startTemperature,
double  endTemperature,
unsigned  repetitionsBeforeUpdate,
double  temperatureFactor 
)
inline

Definition at line 30 of file ExponentialCoolingSchedule.hpp.

Member Function Documentation

bool ISM::ExponentialCoolingSchedule::isNewCostAcceptable ( double  newCost,
double  oldCost 
)
virtual

Implements ISM::CoolingSchedule.

Definition at line 22 of file ExponentialCoolingSchedule.cpp.

bool ISM::ExponentialCoolingSchedule::isNewCostAcceptable ( double  newCost,
double  oldCost 
)
virtual

Implements ISM::CoolingSchedule.

void ISM::ExponentialCoolingSchedule::update ( )
virtual

Implements ISM::CoolingSchedule.

void ISM::ExponentialCoolingSchedule::update ( )
virtual

Implements ISM::CoolingSchedule.

Definition at line 30 of file ExponentialCoolingSchedule.cpp.

Member Data Documentation

std::uniform_real_distribution< double > ISM::ExponentialCoolingSchedule::mDistribution = std::uniform_real_distribution<double>(0.0, 1.0)
private

Definition at line 43 of file CostDifferenceDeltaAcceptanceFunction.hpp.

std::default_random_engine ISM::ExponentialCoolingSchedule::mGenerator
private

Definition at line 42 of file CostDifferenceDeltaAcceptanceFunction.hpp.

double ISM::ExponentialCoolingSchedule::mTemperatureFactor
private

Definition at line 40 of file CostDifferenceDeltaAcceptanceFunction.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