Replace Templates NHE and Neighborhood
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1732 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
e3a9101595
commit
5f7d120a6e
48 changed files with 236 additions and 227 deletions
|
|
@ -47,7 +47,7 @@ int main() {
|
|||
|
||||
//test avec la fonction d'eval classique
|
||||
//on verifie qu'on ne trouve pas de voisin de mm fitness
|
||||
moRandomNeutralWalkExplorer<bitNeighborhood> test(nh, eval, sncomp, 3);
|
||||
moRandomNeutralWalkExplorer<bitNeighbor> test(nh, eval, sncomp, 3);
|
||||
|
||||
test.initParam(sol);
|
||||
test(sol);
|
||||
|
|
@ -56,7 +56,7 @@ int main() {
|
|||
|
||||
//test avec une fonction d'eval bidon qui renvoie toujours la mm fitness
|
||||
//on peut donc verifier qu'on s'arette au bout des 3 itérations.
|
||||
moRandomNeutralWalkExplorer<bitNeighborhood> test2(nh, eval2, sncomp, 3);
|
||||
moRandomNeutralWalkExplorer<bitNeighbor> test2(nh, eval2, sncomp, 3);
|
||||
|
||||
sol.fitness(2);
|
||||
test2.initParam(sol);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue