More constructors for assignment algorithms: by interval, by unique worker, by vector of ranks, or whole world.
This commit is contained in:
parent
5bfcf4cd2c
commit
f3cb5eec20
3 changed files with 142 additions and 33 deletions
|
|
@ -61,7 +61,7 @@ int main(int argc, char** argv)
|
|||
case 1:
|
||||
{
|
||||
// only one node is assigned to subjob mastering
|
||||
DynamicAssignmentAlgorithm algo( 1, 1 );
|
||||
DynamicAssignmentAlgorithm algo( 1 );
|
||||
ParallelApply< vector<int> > job( transmitInstance, metaV, algo, 0 );
|
||||
job.run();
|
||||
if( job.isMaster() )
|
||||
|
|
|
|||
Reference in a new issue