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:
verel 2010-04-28 16:10:49 +00:00
commit 16374482e0
14 changed files with 336 additions and 1195 deletions

View file

@ -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>
{