- Main Page
- Classes
- Files

- File List

# OptFrame/Parallel/MapReduce++/mri/mapreduce.h

    00001 #ifndef MAPREDUCE_H
    00002 #define MAPREDUCE_H
    00003
    00005 template<class KeyA, class A, class KeyB, class B, class C>
    00006 class MapReduce
    00007 {
    00008 public:
    00010         virtual vector< pair<KeyB,C> > run( Mapper<KeyA,A,KeyB,B,C> & , Reducer<KeyA,A,KeyB,B,C> & , vector< pair<KeyA,A> > & ) = 0 ;
    00011 };
    00012
    00014 class StrMapReduce : public MapReduce<string,string,string,string,string> {};
    00015
    00016 #endif /* MAPREDUCE_H */

All Classes Functions