first improvement ajouter

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1669 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
verel 2010-01-22 17:30:19 +00:00
commit b361a1784b
10 changed files with 453 additions and 12 deletions

View file

@ -53,10 +53,10 @@ public:
* Compare two neighbors
* @param _neighbor1 the first neighbor
* @param _neighbor2 the second neighbor
* @return true if the neighbor1 is better than neighbor2
* @return true if the neighbor2 is better than neighbor1
*/
virtual bool operator()(const Neighbor& _neighbor1, const Neighbor& _neighbor2) {
return (_neighbor1.fitness() > _neighbor2.fitness());
return (_neighbor1.fitness() < _neighbor2.fitness());
}
/**