Public Member Functions | Protected Attributes

MaPI_Reducer< KeyA, A, KeyB, B, C > Class Template Reference

MaPI_Reducer. More...

#include <reducer.hpp>

Inheritance diagram for MaPI_Reducer< KeyA, A, KeyB, B, C >:
Reducer< KeyA, A, KeyB, B, C >

List of all members.

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

Detailed Description

template<class KeyA, class A, class KeyB, class B, class C>
class MaPI_Reducer< KeyA, A, KeyB, B, C >

MaPI_Reducer.


The documentation for this class was generated from the following file:
 All Classes Functions