de.kumpe.hadooptimizer.hadoop
Class SelectionReducer<K,V>
java.lang.Object
org.apache.hadoop.mapreduce.Reducer<K,V,K,V>
de.kumpe.hadooptimizer.hadoop.SelectionReducer<K,V>
public final class SelectionReducer<K,V>
- extends org.apache.hadoop.mapreduce.Reducer<K,V,K,V>
A Reducer
implementation for the selection of an evolutionary
algorithm. It outputs the best evaluated individuals and discards the rest.
- Author:
- Christian Kumpe
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Reducer |
org.apache.hadoop.mapreduce.Reducer.Context |
Method Summary |
void |
run(org.apache.hadoop.mapreduce.Reducer.Context context)
|
static void |
setParents(org.apache.hadoop.mapreduce.Job job,
long survivors)
|
protected void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context)
|
Methods inherited from class org.apache.hadoop.mapreduce.Reducer |
cleanup, reduce |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectionReducer
public SelectionReducer()
setParents
public static void setParents(org.apache.hadoop.mapreduce.Job job,
long survivors)
setup
protected void setup(org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
- Overrides:
setup
in class org.apache.hadoop.mapreduce.Reducer<K,V,K,V>
- Throws:
IOException
InterruptedException
run
public void run(org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
- Overrides:
run
in class org.apache.hadoop.mapreduce.Reducer<K,V,K,V>
- Throws:
IOException
InterruptedException
Copyright © 2011 Christian Kumpe. All Rights Reserved.