Package com.github.jelmerk.knn
Interface Item<TId,TVector>
-
- Type Parameters:
TId
- The type of the vector to perform distance calculation onTVector
- Type of the vector to perform distance calculation on
- All Superinterfaces:
Serializable
public interface Item<TId,TVector> extends Serializable
Item that can be indexed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TId
id()
Returns the identifier of this item.TVector
vector()
Returns the vector to perform the distance calculation on.
-