| 480 | */ |
| 481 | |
| 482 | void updateParPop( const double UpdCost, const ptype* const UpdParams ) |
| 483 | { |
| 484 | const int p = getMinDistParPop( UpdCost, UpdParams ); |
| 485 | |
| 486 | if( p >= 0 ) |
| 487 | { |
| 488 | ParPops[ p ] -> updatePop( UpdCost, UpdParams, true, 0 ); |
| 489 | } |
| 490 | } |
| 491 | |
| 492 | /** |
| 493 | * Function selects a parallel population to use for solution generation. |