|
| TProcessExecutor (const TProcessExecutor &)=delete |
|
| TProcessExecutor (unsigned nWorkers=0) |
| Class constructor. More...
|
|
| ~TProcessExecutor ()=default |
|
unsigned | GetNWorkers () const |
|
template<class F , class INTEGER , class Cond = noReferenceCond<F, INTEGER>> |
auto | Map (F func, ROOT::TSeq< INTEGER > args) -> std::vector< typename std::result_of< F(INTEGER)>::type > |
| Execute func in parallel, taking an element of a sequence as argument. More...
|
|
template<class F , class T , class Cond = noReferenceCond<F, T>> |
auto | Map (F func, std::vector< T > &args) -> std::vector< typename std::result_of< F(T)>::type > |
| Execute func in parallel, taking an element of an std::vector as argument. More...
|
|
template<class F , class Cond = noReferenceCond<F>> |
auto | Map (F func, unsigned nTimes) -> std::vector< typename std::result_of< F()>::type > |
| Execute func (with no arguments) nTimes in parallel. More...
|
|
template<class F , class T , class R , class Cond = noReferenceCond<F, T>> |
auto | MapReduce (F func, std::vector< T > &args, R redfunc) -> typename std::result_of< F(T)>::type |
| This method behaves just like Map, but an additional redfunc function must be provided. More...
|
|
template<class F , class R , class Cond = noReferenceCond<F>> |
auto | MapReduce (F func, unsigned nTimes, R redfunc) -> typename std::result_of< F()>::type |
| This method behaves just like Map, but an additional redfunc function must be provided. More...
|
|
TProcessExecutor & | operator= (const TProcessExecutor &)=delete |
|
template<class T , class R > |
T | Reduce (const std::vector< T > &objs, R redfunc) |
| "Reduce" an std::vector into a single object by passing a function as the second argument defining the reduction operation. More...
|
|
void | SetNWorkers (unsigned n) |
|
| TExecutor ()=default |
|
| TExecutor (size_t) |
|
auto | Map (F func, ROOT::TSeq< INTEGER > args) -> std::vector< typename std::result_of< F(INTEGER)>::type > |
| Execute func in parallel, taking an element of a sequence as argument. More...
|
|
auto | Map (F func, std::initializer_list< T > args) -> std::vector< typename std::result_of< F(T)>::type > |
| Execute func in parallel, taking an element of the std::initializer_list as argument. More...
|
|
auto | Map (F func, std::vector< T > &args) -> std::vector< typename std::result_of< F(T)>::type > |
| Execute func in parallel, taking an element of an std::vector as argument. More...
|
|
auto | Map (F func, unsigned nTimes) -> std::vector< typename std::result_of< F()>::type > |
| Execute func (with no arguments) nTimes in parallel. More...
|
|
auto | MapReduce (F func, ROOT::TSeq< INTEGER > args, R redfunc) -> typename std::result_of< F(INTEGER)>::type |
| This method behaves just like Map, but an additional redfunc function must be provided. More...
|
|
auto | MapReduce (F func, std::initializer_list< T > args, R redfunc) -> typename std::result_of< F(T)>::type |
|
T * | MapReduce (F func, std::vector< T * > &args) |
|
T * | Reduce (const std::vector< T * > &mergeObjs) |
| "Reduce" an std::vector into a single object by using the object's Merge More...
|
|