|
EvolvingObjects
|
Store containing all the datas and the functors for the parallel apply (map) job. More...
#include <eoParallelApply.h>
Public Member Functions | |
| ParallelApplyStore (eoUF< EOT &, void > &_proc, int _masterRank, int _packetSize=1, SendTaskParallelApply< EOT > *stpa=0, HandleResponseParallelApply< EOT > *hrpa=0, ProcessTaskParallelApply< EOT > *ptpa=0, IsFinishedParallelApply< EOT > *ifpa=0) | |
| Main constructor for the parallel apply (map) job. | |
| ParallelApplyData< EOT > * | data () |
| void | data (std::vector< EOT > &_pop) |
| Reinits the store with a new table to evaluate. | |
Protected Attributes | |
| ParallelApplyData< EOT > | _data |
Store containing all the datas and the functors for the parallel apply (map) job.
User can tune functors when constructing the object. For each functor which is not given, a default one is generated.
Definition at line 278 of file eoParallelApply.h.
| eo::mpi::ParallelApplyStore< EOT >::ParallelApplyStore | ( | eoUF< EOT &, void > & | _proc, |
| int | _masterRank, | ||
| int | _packetSize = 1, |
||
| SendTaskParallelApply< EOT > * | stpa = 0, |
||
| HandleResponseParallelApply< EOT > * | hrpa = 0, |
||
| ProcessTaskParallelApply< EOT > * | ptpa = 0, |
||
| IsFinishedParallelApply< EOT > * | ifpa = 0 |
||
| ) | [inline] |
Main constructor for the parallel apply (map) job.
| _proc | The procedure to apply to each element of the table. |
| _masterRank | The rank of the master process. |
| _packetSize | The number of elements of the table to be evaluated at a time, by the worker. |
| stpa | Pointer to Send Task parallel apply functor descendant. If null, a default one is used. |
| hrpa | Pointer to Handle Response parallel apply functor descendant. If null, a default one is used. |
| ptpa | Pointer to Process Task parallel apply functor descendant. If null, a default one is used. |
| ifpa | Pointer to Is Finished parallel apply functor descendant. If null, a default one is used. |
Definition at line 296 of file eoParallelApply.h.
References eo::mpi::SharedDataFunction< JobData, Wrapped >::needDelete().
| void eo::mpi::ParallelApplyStore< EOT >::data | ( | std::vector< EOT > & | _pop | ) | [inline] |
Reinits the store with a new table to evaluate.
| _pop | The table of elements to be evaluated. |
Definition at line 341 of file eoParallelApply.h.