Adding sharing - needed to modify quite a few files, like eoDistance.h
make_algo_scalar.h and all related files, and the like
This commit is contained in:
parent
13c7062858
commit
795f63b7fe
14 changed files with 244 additions and 93 deletions
|
|
@ -26,7 +26,7 @@
|
|||
#ifndef _eoSelectFromWorth_h
|
||||
#define _eoSelectFromWorth_h
|
||||
|
||||
|
||||
#include <iostream.h>
|
||||
//-----------------------------------------------------------------------------
|
||||
#include <eoSelectOne.h>
|
||||
#include <eoPerf2Worth.h>
|
||||
|
|
@ -197,6 +197,12 @@ public:
|
|||
*/
|
||||
virtual const EOT& operator()(const eoPop<EOT>& _pop)
|
||||
{
|
||||
// cout << "On affiche les worths\n";
|
||||
// for (unsigned i=0;
|
||||
// i<perf2Worth.value().size();
|
||||
// i++)
|
||||
// cout << perf2Worth.value().operator[](i) << "\n";
|
||||
// cout << endl;
|
||||
worthIterator it = roulette_wheel(
|
||||
perf2Worth.value().begin(),
|
||||
perf2Worth.value().end(),
|
||||
|
|
|
|||
Reference in a new issue