EvolvingObjects
|
Job that will be launched only once. More...
#include <eoMpi.h>
Public Member Functions | |
OneShotJob (AssignmentAlgorithm &algo, int masterRank, JobStore< JobData > &store) |
Job that will be launched only once.
As explained in eo::mpi documentation, jobs can happen either a well known amount of times or an unknown amount of times. This class implements the general case when the job is launched a well known amount of times. The job will be terminated on both sides (master and worker) once the master would have said it.
It uses the message Message::Finish as the termination message.