More constructors for assignment algorithms: by interval, by unique worker, by vector of ranks, or whole world.

This commit is contained in:
Benjamin Bouvier 2012-06-22 17:31:46 +02:00
commit f3cb5eec20
3 changed files with 142 additions and 33 deletions

View file

@ -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() )