git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1960 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
5a0b028bcf
commit
abcb7ed3e3
1 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ int main() {
|
||||||
|
|
||||||
//test avec un neighbordhood ordonné
|
//test avec un neighbordhood ordonné
|
||||||
//Du coup on verifie juste qu'on a bien une evolution de la solution et qu'on fait 3 pas avant d'arreter l'exploration
|
//Du coup on verifie juste qu'on a bien une evolution de la solution et qu'on fait 3 pas avant d'arreter l'exploration
|
||||||
moRandomWalkExplorer<bitNeighbor> test(nh, eval, 3);
|
moRandomWalkExplorer<bitNeighbor> test(nh, eval);
|
||||||
|
|
||||||
test.initParam(sol);
|
test.initParam(sol);
|
||||||
|
|
||||||
|
|
@ -70,7 +70,7 @@ int main() {
|
||||||
assert(sol.fitness()==3);
|
assert(sol.fitness()==3);
|
||||||
assert(!sol[0]);
|
assert(!sol[0]);
|
||||||
test.updateParam(sol);
|
test.updateParam(sol);
|
||||||
assert(!test.isContinue(sol));
|
assert(test.isContinue(sol));
|
||||||
|
|
||||||
std::cout << "[t-moRandomWalkExplorer] => OK" << std::endl;
|
std::cout << "[t-moRandomWalkExplorer] => OK" << std::endl;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue