ug4
pcl_util_impl.h File Reference

Go to the source code of this file.

Namespaces

 pcl
 

Functions

template<typename TKey , typename TValue , typename Compare >
void pcl::MinimalKeyValuePairAcrossAllProcs (TKey &keyInOut, TValue &valInOut, const Compare &cmp=Compare())
 Find minimal key/value pair across processes This function will receive one key/value pair from each process. They will be gathered on proc 0, where the minimal key (w.r.t. given Compare object, e.g., std::less<TKey> ) and corresponding value will be determined. The minimal pair will be made known to all procs and returned. More...