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:
parent
5afed6591e
commit
1f66526f43
12 changed files with 409 additions and 18 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue