#include <reducer.hpp>
Public Member Functions | |
| MaPI_Reducer (MaPI_MapReduce< KeyA, A, KeyB, B, C > *_mapReduce, MaPI_Serializer< KeyA, A, KeyB, B, C > *_serializer) | |
| Constructor. | |
| virtual vector< pair< KeyB, C > > | run (vector< pair< KeyB, B > > &_mapped) |
| Iterator reducing execution (implemented by library). | |
| virtual pair< KeyB, C > | reduce (pair< KeyB, vector< B > >)=0 |
| Reduce function (implemented by user). | |
|
MaPI_Serializer< KeyA, A, KeyB, B, C > * | getSerializer () |
| void | setSerializer (MaPI_Serializer< KeyA, A, KeyB, B, C > *_serializer) |
Protected Attributes | |
|
MaPI_MapReduce< KeyA, A, KeyB, B, C > * | mapReduce |
|
MaPI_Serializer< KeyA, A, KeyB, B, C > * | serializer |
1.7.1