For the wrapper ...
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@831 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
0fb60a67ca
commit
4116f0a7ac
7 changed files with 49 additions and 20 deletions
|
|
@ -109,7 +109,7 @@ template< class POT > void peoPSO< POT > :: operator ()( eoPop< POT >& __pop )
|
|||
|
||||
template< class POT > void peoPSO< POT > :: run()
|
||||
{
|
||||
|
||||
eoPop< POT > dummy;
|
||||
printDebugMessage( "Performing the first evaluation of the population." );
|
||||
Init();
|
||||
velocity.getTopology().setup(*pop);
|
||||
|
|
@ -120,7 +120,7 @@ template< class POT > void peoPSO< POT > :: run()
|
|||
printDebugMessage( "Performing the flight." );
|
||||
flight.apply ( *pop );
|
||||
printDebugMessage( "Performing the evaluation." );
|
||||
pop_eval(*pop);
|
||||
pop_eval(dummy,*pop);
|
||||
velocity.updateNeighborhood( *pop );
|
||||
}
|
||||
while ( cont( *pop ) );
|
||||
|
|
|
|||
Loading…
Reference in a new issue