Ajout du moNeutralHC.h, et update de la lesson 1
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1757 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
0de5e51fd6
commit
16374482e0
14 changed files with 336 additions and 1195 deletions
|
|
@ -36,6 +36,16 @@ Contact: paradiseo-help@lists.gforge.inria.fr
|
|||
#include <eval/moEval.h>
|
||||
#include <eoEvalFunc.h>
|
||||
|
||||
/********************************************************
|
||||
* Simple HC:
|
||||
* Hill-Climber local search
|
||||
*
|
||||
* At each iteration,
|
||||
* the first best solution in the neighborhood is selected
|
||||
* if the selected neighbor have higher fitness than the current solution
|
||||
* then the solution is replaced by the selected neighbor
|
||||
* the algorithm stops when there is no higher neighbor
|
||||
********************************************************/
|
||||
template<class Neighbor>
|
||||
class moSimpleHC: public moLocalSearch<Neighbor>
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue