public class CentroidAssociationFn<T> extends Object
| Constructor and Description |
|---|
CentroidAssociationFn() |
| Modifier and Type | Method and Description |
|---|---|
double |
compute(AnalyticItemWrapper<T> point,
Iterable<AnalyticItemWrapper<T>> targetSet,
AssociationNotification<T> associationNotification) |
double |
compute(Iterable<AnalyticItemWrapper<T>> pointSet,
Iterable<AnalyticItemWrapper<T>> targetSet,
AssociationNotification<T> associationNotification) |
DistanceFn<T> |
getDistanceFunction() |
void |
setDistanceFunction(DistanceFn<T> distanceFunction) |
public DistanceFn<T> getDistanceFunction()
public void setDistanceFunction(DistanceFn<T> distanceFunction)
public double compute(AnalyticItemWrapper<T> point, Iterable<AnalyticItemWrapper<T>> targetSet, AssociationNotification<T> associationNotification)
public double compute(Iterable<AnalyticItemWrapper<T>> pointSet, Iterable<AnalyticItemWrapper<T>> targetSet, AssociationNotification<T> associationNotification)
Copyright © 2013–2022. All rights reserved.