Ajout du neutral degree, et correction Royal Road

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1790 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
verel 2010-05-06 15:13:51 +00:00
commit 1f66526f43
12 changed files with 409 additions and 18 deletions

View file

@ -58,7 +58,7 @@ public:
*/
moRandomSearch(eoInit<EOT> & _init, eoEvalFunc<EOT>& _fullEval, unsigned _nbSolMax):
moLocalSearch<Neighbor>(explorer, trueCont, _fullEval),
explorer(_init, _fullEval, _nbSolMax - 1)
explorer(_init, _fullEval, _nbSolMax>0?_nbSolMax - 1:0)
{}
/**
@ -69,7 +69,7 @@ public:
*/
moRandomSearch(eoInit<EOT> & _init, eoEvalFunc<EOT>& _fullEval, unsigned _nbSolMax, moContinuator<Neighbor>& _cont):
moLocalSearch<Neighbor>(explorer, _cont, _fullEval),
explorer(_init, _fullEval, _nbSolMax - 1)
explorer(_init, _fullEval, _nbSolMax>0?_nbSolMax - 1:0)
{}
private: