Package | Description |
---|---|
org.apache.flink.examples.scala.clustering |
Modifier and Type | Class and Description |
---|---|
static class |
KMeans.Centroid
A simple two-dimensional centroid, basically a point with an ID.
|
static class |
KMeans.Point
A simple two-dimensional point.
|
Modifier and Type | Method and Description |
---|---|
KMeans.Coordinate |
KMeans.Coordinate.add(KMeans.Coordinate other) |
KMeans.Coordinate |
KMeans.Coordinate.div(long other) |
Modifier and Type | Method and Description |
---|---|
KMeans.Coordinate |
KMeans.Coordinate.add(KMeans.Coordinate other) |
double |
KMeans.Coordinate.euclideanDistance(KMeans.Coordinate other) |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.