@Override protected void map(Centroid key, IntWritable value, Context context) throws IOException, InterruptedException { context.write(new Text(key.toString()), new Text(value.toString())); }
@Override public String toString() { return first.toString() + ":" + second.toString(); }