public static final class KMeans.CentroidAccumulator extends Object implements ReduceFunction<Tuple3<Integer,KMeans.Point,Long>>
Constructor and Description |
---|
CentroidAccumulator() |
Modifier and Type | Method and Description |
---|---|
Tuple3<Integer,KMeans.Point,Long> |
reduce(Tuple3<Integer,KMeans.Point,Long> val1,
Tuple3<Integer,KMeans.Point,Long> val2) |
public Tuple3<Integer,KMeans.Point,Long> reduce(Tuple3<Integer,KMeans.Point,Long> val1, Tuple3<Integer,KMeans.Point,Long> val2)
reduce
in interface ReduceFunction<Tuple3<Integer,KMeans.Point,Long>>
Copyright © 2015 The Apache Software Foundation. All rights reserved.