public static final class KMeans.CentroidAccumulator extends Object implements org.apache.flink.api.common.functions.ReduceFunction<org.apache.flink.api.java.tuple.Tuple3<Integer,KMeans.Point,Long>>
Constructor and Description |
---|
CentroidAccumulator() |
Modifier and Type | Method and Description |
---|---|
org.apache.flink.api.java.tuple.Tuple3<Integer,KMeans.Point,Long> |
reduce(org.apache.flink.api.java.tuple.Tuple3<Integer,KMeans.Point,Long> val1,
org.apache.flink.api.java.tuple.Tuple3<Integer,KMeans.Point,Long> val2) |
public org.apache.flink.api.java.tuple.Tuple3<Integer,KMeans.Point,Long> reduce(org.apache.flink.api.java.tuple.Tuple3<Integer,KMeans.Point,Long> val1, org.apache.flink.api.java.tuple.Tuple3<Integer,KMeans.Point,Long> val2)
reduce
in interface org.apache.flink.api.common.functions.ReduceFunction<org.apache.flink.api.java.tuple.Tuple3<Integer,KMeans.Point,Long>>
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.