Public Member Functions | Private Attributes | List of all members
ISM::HillClimbingAlogrithm< InstanceType > Class Template Reference

#include <HillClimbingAlogrithm.hpp>

Inheritance diagram for ISM::HillClimbingAlogrithm< InstanceType >:
Inheritance graph
[legend]

Public Member Functions

 HillClimbingAlogrithm (NeighbourhoodFunctionPtr< InstanceType > neighbourhoodFunction, CostFunctionPtr< InstanceType > costFunction, bool randomWalkProbability=0.0)
 
InstanceType optimize (InstanceType startInstance)
 
- Public Member Functions inherited from ISM::OptimizationAlgorithm< InstanceType >
 OptimizationAlgorithm (NeighbourhoodFunctionPtr< InstanceType > neighbourhoodFunction, CostFunctionPtr< InstanceType > costFunction)
 

Private Attributes

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

Additional Inherited Members

- Protected Attributes inherited from ISM::OptimizationAlgorithm< InstanceType >
CostFunctionPtr< InstanceType > mCostFunction
 
NeighbourhoodFunctionPtr< InstanceType > mNeighbourhoodFunction
 

Detailed Description

template<class InstanceType>
class ISM::HillClimbingAlogrithm< InstanceType >

Definition at line 28 of file HillClimbingAlogrithm.hpp.

Constructor & Destructor Documentation

template<class InstanceType >
ISM::HillClimbingAlogrithm< InstanceType >::HillClimbingAlogrithm ( NeighbourhoodFunctionPtr< InstanceType >  neighbourhoodFunction,
CostFunctionPtr< InstanceType >  costFunction,
bool  randomWalkProbability = 0.0 
)
inline

Definition at line 31 of file HillClimbingAlogrithm.hpp.

Member Function Documentation

template<class InstanceType >
InstanceType ISM::HillClimbingAlogrithm< InstanceType >::optimize ( InstanceType  startInstance)
inlinevirtual

Member Data Documentation

template<class InstanceType >
std::uniform_real_distribution<double> ISM::HillClimbingAlogrithm< InstanceType >::mDistribution = std::uniform_real_distribution<double>(0.0, 1.0)
private

Definition at line 89 of file HillClimbingAlogrithm.hpp.

template<class InstanceType >
std::default_random_engine ISM::HillClimbingAlogrithm< InstanceType >::mGenerator
private

Definition at line 88 of file HillClimbingAlogrithm.hpp.

template<class InstanceType >
bool ISM::HillClimbingAlogrithm< InstanceType >::mRandomWalkProbability
private

Definition at line 87 of file HillClimbingAlogrithm.hpp.


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


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