DistributedEvolutionaryAlgorithmsFramework
Class Deaf.IslandMapper

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by DistributedEvolutionaryAlgorithmsFramework.Deaf.IslandMapper
All Implemented Interfaces:
java.io.Closeable, org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.LongWritable,Population,org.apache.hadoop.io.LongWritable,Population>
Enclosing class:
Deaf

public static class Deaf.IslandMapper
extends org.apache.hadoop.mapred.MapReduceBase
implements org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.LongWritable,Population,org.apache.hadoop.io.LongWritable,Population>

Class for Hadoop framework. Gets distributed to tasktrackers.


Constructor Summary
Deaf.IslandMapper()
           
 
Method Summary
 void configure(org.apache.hadoop.mapred.JobConf jc)
           
 void map(org.apache.hadoop.io.LongWritable key, Population population, org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.LongWritable,Population> collector, org.apache.hadoop.mapred.Reporter reporter)
           
 
Methods inherited from class org.apache.hadoop.mapred.MapReduceBase
close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.io.Closeable
close
 

Constructor Detail

Deaf.IslandMapper

public Deaf.IslandMapper()
Method Detail

configure

public void configure(org.apache.hadoop.mapred.JobConf jc)
Specified by:
configure in interface org.apache.hadoop.mapred.JobConfigurable
Overrides:
configure in class org.apache.hadoop.mapred.MapReduceBase

map

public void map(org.apache.hadoop.io.LongWritable key,
                Population population,
                org.apache.hadoop.mapred.OutputCollector<org.apache.hadoop.io.LongWritable,Population> collector,
                org.apache.hadoop.mapred.Reporter reporter)
         throws java.io.IOException
Specified by:
map in interface org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.LongWritable,Population,org.apache.hadoop.io.LongWritable,Population>
Throws:
java.io.IOException