faif
Public Types | Public Member Functions | List of all members
faif::search::HillClimbing< Space, NextNodeStrategy > Class Template Reference

the hill climbing algorithm. Search the neighbour for the better solution More...

#include <HillClimbing.hpp>

Collaboration diagram for faif::search::HillClimbing< Space, NextNodeStrategy >:
Collaboration graph

Public Types

typedef Space::Individual Individual
 
typedef Individual::PNode PNode
 
typedef Space::Fitness Fitness
 

Public Member Functions

PNode solve (const PNode &initial)
 the hill climbing algorithm - until stop repeat searching all adjacent nodes. More...
 

Detailed Description

template<typename Space, template< typename > class NextNodeStrategy = NextNodeCheckAll>
class faif::search::HillClimbing< Space, NextNodeStrategy >

the hill climbing algorithm. Search the neighbour for the better solution

Member Function Documentation

template<typename Space , template< typename > class NextNodeStrategy = NextNodeCheckAll>
PNode faif::search::HillClimbing< Space, NextNodeStrategy >::solve ( const PNode &  initial)
inline

the hill climbing algorithm - until stop repeat searching all adjacent nodes.


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