com.github.jelmerk.knn.scalalike.bruteforce
Construct a new BruteForceIndex.
Construct a new BruteForceIndex.
Type of the external identifier of an item
Type of the vector to perform distance calculation on
Type of items stored in the index
Type of distance between items (expect any numeric type: float, double, int, ..)
dimensionality of the items stored in the index
the distance function
used to compare the distances returned by the distance function
the index
Restores a BruteForceIndex from a File.
Restores a BruteForceIndex from a File.
Type of the external identifier of an item
Type of the vector to perform distance calculation on
Type of items stored in the index
Type of distance between items (expect any numeric type: float, double, int, ..)
File to read from
the classloader to use
The restored index
Restores a BruteForceIndex from an InputStream.
Restores a BruteForceIndex from an InputStream.
Type of the external identifier of an item
Type of the vector to perform distance calculation on
Type of items stored in the index
Type of distance between items (expect any numeric type: float, double, int, ..)
InputStream to restore the index from
the classloader to use
The restored index
Restores a BruteForceIndex from a Path.
Restores a BruteForceIndex from a Path.
Type of the external identifier of an item
Type of the vector to perform distance calculation on
Type of items stored in the index
Type of distance between items (expect any numeric type: float, double, int, ..)
Path to read from
the classloader to use
The restored index