AUTHORS, index.h and moFitComparator have been updated
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@616 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
4429a00f4d
commit
6c119796e0
263 changed files with 2315 additions and 1611 deletions
|
|
@ -20,6 +20,13 @@ template<class EOT>
|
|||
class moFitComparator: public moComparator<EOT>
|
||||
{
|
||||
public:
|
||||
|
||||
//! Function which makes the comparison and gives the result.
|
||||
/*!
|
||||
\param _solution1 The first solution.
|
||||
\param _solution2 The second solution.
|
||||
\return true if the fitness of the first solution is better than the second solution, false else.
|
||||
*/
|
||||
bool operator()(const EOT& _solution1, const EOT& _solution2)
|
||||
{
|
||||
return _solution1.fitness()>_solution2.fitness();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue