public interface RowDistanceManager
| Modifier and Type | Method and Description |
|---|---|
double |
getDistance(DataRow row1,
DataRow row2)
Returns the distance between the given
DataRows, row1 and
row2. |
String |
getType() |
double getDistance(DataRow row1, DataRow row2)
DataRows, row1 and
row2. The distance metric is up to the concrete implementation.row1 - First DataRow to compute distance.row2 - Second DataRow to compute distance.DataRows.String getType()
RowDistanceManager. See
DistanceManagerFactory for valid types.DistanceManagerFactory.COS_DIST,
DistanceManagerFactory.EUCLIDEAN_DIST,
DistanceManagerFactory.MANHATTAN_DIST
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.