MCPcopy Create free account
hub / github.com/avaneev/biteopt / updateParPop

Method updateParPop

biteopt.h:482–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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.

Callers 1

optimizeMethod · 0.80

Calls 1

updatePopMethod · 0.80

Tested by

no test coverage detected