New meta model branch
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@608 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
f37356d18a
commit
b0c0d480b1
413 changed files with 31937 additions and 0 deletions
14
branches/paradiseo-peo/tutorial/examples/tsp/route_eval.cpp
Normal file
14
branches/paradiseo-peo/tutorial/examples/tsp/route_eval.cpp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
// "route_eval.cpp"
|
||||
|
||||
// (c) OPAC Team, LIFL, January 2006
|
||||
|
||||
/*
|
||||
Contact: paradiseo-help@lists.gforge.inria.fr
|
||||
*/
|
||||
|
||||
#include "route_eval.h"
|
||||
|
||||
void RouteEval :: operator () (Route & __route) {
|
||||
|
||||
__route.fitness (- (int) length (__route));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue