source: proiecte/HadoopA51/src/java/ro/pub/cs/pp/a51hadoop/algorithm/ReducerGenerator.java @ 166

Last change on this file since 166 was 166, checked in by (none), 14 years ago

HadoopA51: imported git repository from github

File size: 520 bytes
Line 
1package ro.pub.cs.pp.a51hadoop.algorithm;
2
3
4/*
5 * A generator for Reducer functors that map hash values
6 * back to secret values.
7 *
8 * The actual implementations for the Reducer object may be
9 * different.
10 */
11public interface ReducerGenerator
12{
13
14        /*
15         * Generate @length distinct Reducer functors
16         * @length - the number of Reducers to generate
17         * @param  - a parameter to be sent to the reducers
18         *
19         * @return an array of all Reducer objects created
20         */
21        public HashReducer[] generate(int length, int param);
22}
23
Note: See TracBrowser for help on using the repository browser.